﻿:root {
	--raqi-navy-blue: #0a294d; /* Navy blue*/
	--raqi-orange: #f34414; /* Bright Red-Orange*/
	--raqi-jaune: #ffac27; /* Golden Yellow */
	--raqi-beige: #d8cabd; /* Warm beige */
	--raqi-steel-blue: #355e8a; /* Steel Blue */
	--primary-color: #3498db;
	--header-height: 3rem;
	--footer-height: 2em;
	font-family: 'Nunito Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@font-face {
	font-family: 'Inclusive Sans';
	src: url('/fonts/InclusiveSans-VariableFont_wght.woff2') format('woff2');
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Nunito Sans';
	src: url('/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff2') format('woff'), url('/fonts/NunitoSans-Italic-VariableFont_YTLC,opsz,wdth,wght.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

h1, h2, h3, h4, h5, h6, h7 {
	font-family: 'Inclusive Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: var(--raqi-navy-bleu);
	margin: 0;
	margin-bottom: .7rem;
}

h1 {
	font-weight: 900;
	font-size: 2rem;
	text-transform: uppercase;
}
h2 {
	font-weight: bold;
	font-size: 1.6rem;
}
h3 {
	font-weight: bold;
	font-size: 1.4rem;
}
h4 {
	font-weight: bold;
	font-size: 1rem;
	text-transform: uppercase;
}
h5 {
	font-weight: bold;
	font-size: 1rem;
	
}
.exergues {
	font-family: 'Inclusive Sans', sans-serif;
	font-weight: bold;
}

body.raqi {
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	box-sizing: border-box;
}

.raqi .navbar {
	font-family: 'Inclusive Sans', sans-serif;
	background-color: var(--raqi-navy-blue);
	color: #ffd;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	z-index: 1000;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	overflow: clip;
}

main.raqi-body {
	flex: 1 1 auto;
	min-height: calc(100vh - var(--header-height) - var(--footer-height));
	padding-top: var(--header-height);
	padding-bottom: var(--footer-height);
	box-sizing: border-box;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

@media (max-width: 768px) {
	main.raqi-body {
		background-attachment: scroll;
	}
}

.raqi-body .container {
	margin: 10px;
}

/* Menu */
.raqi-menu {
	display: flex;
	flex-wrap: wrap;
	font-family: 'Inclusive Sans', sans-serif;
	font-weight: bold;
	align-items: center;
	column-gap: 0.25rem;
	padding: 0;
	margin-left: 1rem;
}

	.raqi-menu > div {
		height: var(--header-height);
		margin: 0;
		transition: background-color 0.5s ease-in-out; /* transition définie dans la charte */
		display: flex;
		align-items: center;
		box-sizing: border-box;
		padding: 0;
	}

		.raqi-menu > div:hover {
			background-color: var(--raqi-steel-blue);
		}

		.raqi-menu > div > a {
			text-transform: uppercase;
			display: inline-block;
			padding: .7rem;
			color: white;
			text-decoration: none;
			font-size: clamp(.2rem, 1.5vw, 1rem);
		}

/* footer - pied de page */
.raqi > footer {
	position: fixed;
	bottom: 0;
	left: 0;
	background-color: var(--raqi-navy-blue);
	color: #ccc;
	padding: .2rem 1rem;
	width: 100%;
	height: var(--footer-height);
	box-sizing: border-box;
	z-index: 10;
	display: flex;
	align-items: center;
	font-size: .8rem;
}

	/* footer links */
	.raqi > footer a {
		color: #ccc;
		text-decoration: none;
	}

		.raqi > footer a:hover {
			color: #fff;
		}

/* --- Responsive RAQI menu: hamburger + dropdown for small viewports --- */
.raqi-hamburger {
	display: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	padding: 0.5rem;
	margin-right: 0.5rem;
	align-self: center;
}

	.raqi-hamburger .bar {
		display: block;
		width: 22px;
		height: 2px;
		background: #fff;
		margin: 4px 0;
		border-radius: 1px;
	}

/* Desktop: ensure menu remains horizontal (assumes existing styles set this already) */
@media (max-width: 1024px) {
	/* Show hamburger */
	.raqi-hamburger {
		display: block;
	}

	/* Make container relative so dropdown can be positioned */
	#raqi-navbar .container {
		position: relative;
	}

	/* Collapse menu by default on small screens */
	.raqi-menu {
		display: none;
		flex-direction: column;
		gap: 0;
		background: var(--nav-bg, #2b2b2b);
		padding: 0.5rem 0;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 1000;
		border-top: 1px solid rgba(255,255,255,0.05);
	}

		/* Visible state */
		.raqi-menu.open {
			display: flex;
		}

		/* Menu items stacked and full width */
		.raqi-menu > div {
			padding: 0.5rem 1rem;
		}

		.raqi-menu a {
			display: block;
			color: inherit;
			text-decoration: none;
			width: 100%;
		}

		/* Keep account icon aligned to right inside the dropdown if desired */
		.raqi-menu > div svg {
			margin-left: auto;
		}
}
max:root {
	--raqi-navy-blue: #0a294d; /* Navy blue*/
	--raqi-orange: #f34414; /* Bright Red-Orange*/
	--raqi-jaune: #ffac27; /* Golden Yellow */
	--raqi-beige: #d8cabd; /* Warm beige */
	--raqi-steel-blue: #355e8a; /* Steel Blue */
	--primary-color: #3498db;
	--header-height: 3rem; 
	--footer-height: 2em;
	font-family: 'Nunito Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@font-face {
	font-family: 'Inclusive Sans';
	src: url('/fonts/InclusiveSans-Regular.woff') format('woff'),
		url('/fonts/InclusiveSans-VariableFont_wght.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Nunito Sans';
	src: url('/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff2') format('woff'),
		url('/fonts/NunitoSans-Italic-VariableFont_YTLC,opsz,wdth,wght.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

.exergues {
	font-family: 'Inclusive Sans', sans-serif;
	font-weight: bold;
}

body.raqi {
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	box-sizing: border-box;
}

.raqi .navbar {
	font-family: 'Inclusive Sans', sans-serif;
	background-color: var(--raqi-navy-blue);
	color: #ffd;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	z-index: 1000;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	/* Allow dropdown to overflow outside the navbar */
	overflow: visible;
}

main.raqi-body {
	flex: 1 1 auto;
	min-height: calc(100vh - var(--header-height) - var(--footer-height));
	padding-top: var(--header-height);
	padding-bottom: var(--footer-height);
	box-sizing: border-box;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

@media (max-width: 768px) {
	main.raqi-body {
		background-attachment: scroll;
	}
}

.raqi-body .container {
	margin: 10px;
}

/* Menu */
.raqi-menu {
	display: flex;
	flex-wrap: wrap;
	font-family: 'Inclusive Sans', sans-serif;
	font-weight: bold;
	align-items: center;
	column-gap: 0.25rem;
	padding: 0;
	margin-left: 1rem;
	
}

	.raqi-menu > div {
		height: var(--header-height);
		margin: 0;
		transition: background-color 0.5s ease-in-out; /* transition définie dans la charte */
		display: flex;
		align-items: center;
		box-sizing: border-box;
		padding: 0;
	}
		.raqi-menu > div:hover {
			background-color: var(--raqi-steel-blue);
		}
		.raqi-menu > div > a {
			text-transform: uppercase;
			display: inline-block;
			padding: .7rem;
			color: white;
			text-decoration:none;
			font-size:1rem;
		}

/* footer - pied de page */
.raqi > footer {
	position: fixed;
	bottom: 0;
	left: 0;
	background-color: var(--raqi-navy-blue);
	color: #ccc;
	padding: .2rem 1rem;
	width: 100%;
	height: var(--footer-height);
	box-sizing: border-box;
	z-index: 10;
	display: flex;
	align-items: center;
	font-size:.8rem;
}

	/* footer links */
	.raqi > footer a {
		color: #ccc;
		text-decoration: none;
	}

		.raqi > footer a:hover {
			color: #fff;
		}
.raqi-hamburger {
	display: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	padding: 0.5rem;
	margin-right: 0.5rem;
	align-self: center;
	z-index: 1100;
}

.raqi-hamburger .bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	margin: 4px 0;
	border-radius: 1px;
}

.raqi .liste {
	display: grid;
	gap: 20px;
	margin: 10px;
	grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr)); /* Chaque carte aura une largeur maximale de 25rem et occupera l'espace disponible */
}
.carte {
	padding: 1rem;
	border: 1px solid #000;
	background: #fff;
	background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, 0));
	background-position: center;
}

	@media (max-width: 1024px) {
		.raqi-hamburger {
			display: block;
		}

		#raqi-navbar .container {
			position: relative;
		}
		/* Collapse menu by default on small screens */
		.raqi-menu {
			display: none;
			flex-direction: column;
			gap: 0;
			background-color: #0a294ddd; /* bleu marin mais avec un peu de transparence */
			-webkit-backdrop-filter: blur(6px);
			backdrop-filter: blur(6px);
			box-shadow: 0 8px 20px rgba(2, 6, 23, 0.45);
			padding: 0.5rem 0;
			position: absolute;
			/* position precisely below the header */
			top: var(--header-height);
			left: 0;
			right: 0;
			z-index: 1000;
			border-top: 1px solid rgba(255,255,255,0.06);
			opacity: 0;
			transform-origin: top;
			transition: opacity 180ms ease, transform 180ms ease;
			transform: translateY(-6px);
			/* make dropdown occupy full width of the navbar/container and avoid inherited left margin */
			margin-left: 0;
			width: 100%;
			box-sizing: border-box;
		}
			/* Visible state */
			.raqi-menu.open {
				position: fixed;
				display: flex;
				opacity: 1;
				transform: translateY(0);
			}
			/* Menu items stacked and full width */
			.raqi-menu > div {
				padding: 0.5rem 1rem;
				/* ensure each item fills the dropdown area */
				width: 100%;
				min-height: var(--header-height);
			}

			.raqi-menu a {
				display: block;
				color: inherit;
				text-decoration: none;
				width: 100%;
				padding-left: 0.25rem;
			}
			/* Keep account icon aligned to right inside the dropdown if desired */
			.raqi-menu div svg {
				margin-left: 0;
			}
	}
