/* ====================================================== */
/* ---------------------- variables --------------------- */
/* ====================================================== */
:root
{
	/* ------------------- Polices ------------------- */
	--font-main: "Montserrat", system-ui, sans-serif;
	--font-header: "Montserrat", cursive, sans-serif;
	/* ------------------- Couleurs globales ------------------- */
	--color-text: #333333;
	--color-text-light: #555555;
	--color-primary: #7E57C2;
	--color-secondary: #5C6BC0;
	--highlight-color: #2196F3;
	--orange: #FFB97F;
	--violet: #C3B1E1;
	--rose: #F5C3D1;
	--vert: #A8D5BA;
	--bleu: #B3DDF2;
	/* ------------------- Cartes / Gradients ------------------- */
	--card-green-bg: #A8D5BA;
	--card-green-bg-hover: #94C9A4;
	--card-green-text: #004D40;
	--card-green-accent: #2FA886;
	--card-pink-bg: #F5C3D1;
	--card-pink-bg-hover: #F0AFC4;
	--card-pink-text: #880E4F;
	--card-pink-accent: #E91E63;
	--card-blue-bg: #B3DDF2;
	--card-blue-bg-hover: #81C9F2;
	--card-blue-text: #01579B;
	--card-blue-accent: #2196F3;
	--card-purple-bg: #C3B1E1;
	--card-purple-bg-hover: #B39DDC;
	--card-purple-text: #4A148C;
	--card-purple-accent: #7E57C2;
	/* ------------------- Fonds semi-transparents ------------------- */
	--bg-content-box: rgba(245, 245, 250, 0.85);
	--bg-blockquote: rgba(230, 230, 250, 0.3);
	--bg-error-card: rgba(245, 245, 250, 0.85);
	--bg-error-icon: rgba(233, 30, 99, 0.1);
	/* ------------------- Border radius standard ------------------- */
	--radius: 15px;
	/* ------------------- Box-shadow standard ------------------- */
	--shadow-light: 0 6px 15px rgba(0,0,0,0.06);
	--shadow-hover: 0 10px 25px rgba(0,0,0,0.08);
}

/* ====================================================== */
/* -------------------- Police -------------------------- */
/* ====================================================== */
@font-face
{
	font-family: "Montserrat";
	src: url("Montserrat.woff2") format("woff2");
	font-display: swap;
	font-weight: 400;
}

/* ====================================================== */
/* -------------------- Global -------------------------- */
/* ====================================================== */
html, body
{
	margin: 0;
	padding: 0;
	font-family: var(--font-main);
	background: url('../ressources/fond.webp') no-repeat center center fixed;
	background-size: cover;
	line-height: 1.7;
	color: var(--color-text);
	font-size: 17px;
	box-sizing: border-box;
}

*, *::before, *::after
{
	box-sizing: inherit;
}

#pages
{
	max-width: 1200px;
	margin: 0 auto;
	padding: 2em;
	border-radius: var(--radius);
	background-color: var(--bg-content-box);
	box-sizing: border-box;
}

/* ====================================================== */
/* -------------------- Hero / Sections ----------------- */
/* ====================================================== */
.hero-home
{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	text-align: left;
	width: 100%;
	max-width: 1200px;
	margin: 0;
}

.hero-souspartie .hero-text
{
	flex: 1;
	text-align: justify;
}

.hero-home .hero-text
{
	flex: 1;
	text-align: justify;
}

.hero-home .hero-image
{
	flex: 0 0 280px;
	max-width: 280px;
}

.content-box
{
	padding: 1em 2em;
	border-radius: var(--radius);
	background-color: var(--bg-content-box);
	margin-bottom: 2em;
	width: 100%;
}

.services.content-box h2
{
	margin-top: 0;
	margin-bottom: 0.5em;
}

section.content-box
{
	padding-top: 1em;
}

section.content-box h2
{
	margin-top: 0;
	margin-bottom: 0.5em;
}

section.content-box h3
{
	margin-top: 0;
	margin-bottom: 0.5em;
}

/* ====================================================== */
/* -------------------- Typographie --------------------- */
/* ====================================================== */
#pages h1
{
	font-family: var(--font-header);
	font-size: 2.5em;
	font-weight: 400;
	text-align: center;
	color: var(--color-primary);
	margin-bottom: 0.5em;
	letter-spacing: 1px;
	display: block;
}

#pages h2
{
	font-family: var(--font-header);
	font-size: 2.2em;
	font-weight: 400;
	text-align: center;
	color: var(--color-secondary);
	letter-spacing: 1px;
}

#pages h3
{
	font-family: var(--font-header);
	font-size: 2rem;
	font-weight: 400;
	text-align: center;
	color: var(--color-text);
	margin-bottom: 0.5em;
	letter-spacing: 1px;
}

/* ====================================================== */
/* -------------------- Blockquotes --------------------- */
/* ====================================================== */
#pages blockquote
{
	font-style: italic;
	background-color: var(--bg-blockquote);
	border-left: 5px solid var(--color-primary);
	margin: 1.5em 0;
	padding: 1em 1.5em;
	border-radius: var(--radius);
	color: var(--color-text);
}

#pages blockquote cite
{
	display: block;
	margin-top: 0.5em;
	font-style: normal;
	font-weight: bold;
	color: var(--color-primary);
	text-align: right;
}

/* ====================================================== */
/* -------------------- Cartes / Grilles ---------------- */
/* ====================================================== */
#pages .cards-container
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2em;
	justify-items: center;
	align-items: stretch;
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

#pages .service-card,#pages .card,#pages .card-step,#pages .emdr-block,#pages .mutuelle-card,#pages .contact-item
{
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	background-color: #fff;
	border-radius: var(--radius);
	padding: 1.8em;
	box-shadow: var(--shadow-light);
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
	text-align: center;
	width: 100%;
}

#pages .service-card:hover,#pages .card:hover,#pages .card-step:hover,#pages .emdr-block:hover,#pages .mutuelle-card:hover,#pages .contact-item:hover
{
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
}

#pages .cards-container .service-card img:not(.icon-circle img),#pages .cards-container .contact-item img:not(.icon-circle img)
{
	width: 100%;
	height: auto;
	margin: 0 auto 1.5em auto;
	border-radius: 15px;
	transition: transform 0.3s ease;
}

#pages .cards-container .service-card:hover img:not(.icon-circle img),#pages .cards-container .contact-item:hover img:not(.icon-circle img)
{
	transform: scale(1.05);
}

/* ====================================================== */
/* ------------------- Titres et textes ----------------- */
/* ====================================================== */
#pages .cards-container .service-card h2, #pages .cards-container .contact-item h3
{
	font-family: var(--font-header);
	font-size: 1.6rem;
	color: var(--card-green-text);
}

#pages .cards-container .contact-item h3
{
	font-family: var(--font-header);
	font-size: 1.4rem;
	color: var(--card-green-text);
}

#pages .cards-container .service-card p,#pages .cards-container .contact-item p
{
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0.3em 0;
	color: black;
}

#pages .cards-container .service-card p span
{
	font-weight: bold;
	color: black;
}

#pages .service-card h3,#pages .contact-item h3
{
	font-family: var(--font-header);
	color: inherit;
	font-weight: 700;
	font-size: 1.4rem;
	margin-bottom: 0.8em;
	letter-spacing: 1px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
	position: relative;
}

#pages .service-card h3::after,#pages .contact-item h3::after
{
	content: '';
	display: block;
	width: 0;
	height: 3px;
	margin-top: 0.3em;
	border-radius: 2px;
	transition: width 0.3s ease;
	background-color: currentColor;
}

#pages .service-card:hover h3::after,#pages .contact-item:hover h3::after
{
	width: 100%;
}

#pages .service-card h3,#pages .contact-item h3
{
	margin-bottom: 0.2em;
}

#pages .service-card h3 + h4,#pages .contact-item h3 + h4
{
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}

#pages .service-card h4,#pages .contact-item h4
{
	font-size: 1.05rem;
	font-weight: 500;
}

#pages .service-card p,#pages .contact-item p
{
	margin: 0.3em 0;
}

p.date
{
	font-style: italic;
	letter-spacing: 0.5px;
	text-decoration: underline;
}

/* ------------------- Première section ------------------- */
.hero-home
{
	background: linear-gradient(135deg, #f3e5f5, #e1bee7);
	border-radius: var(--radius);
	padding: 2em 2vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2em;
	box-shadow: var(--shadow-light);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-home:hover
{
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
}

.hero-home .hero-text
{
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1em;
	text-align: left;
}

.hero-home .hero-text p
{
	font-size: 1rem;
	line-height: 1.6;
	color: #222;
}

.hero-home .hero-image
{
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-home .hero-image img
{
	max-width: 300px;
	width: 100%;
	border-radius: 12px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.hero-home .hero-image img:hover
{
	transform: scale(1.05);
}

/* ====================================================== */
/* --------------- Cercles pour icônes SVG -------------- */
/* ====================================================== */
.icon-circle
{
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1em auto;
	transition: transform 0.3s ease;
	overflow: hidden;
}

.icon-circle img
{
	width: 40%;
	height: 40%;
	object-fit: contain;
	display: block;
}

.icon-circle.violet
{
	background-color: var(--violet);
}

.icon-circle.vert
{
	background-color: var(--vert);
}

.icon-circle.rose
{
	background-color: var(--rose);
}

/* ====================================================== */
/* ------------------- Sources Card -------------------- */
/* ====================================================== */
#pages .sources-card
{
	display: block;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.4em 1em;
	background-color: rgba(149, 83, 191, 0.2);
	border-radius: var(--radius);
	padding: 0.6em 0.8em;
	box-shadow: none;
	font-size: 0.8rem;
	color: #555;
	line-height: 1.2;
}

#pages .sources-card h2
{
	grid-column: 1 / -1;
	font-family: var(--font-main);
	font-size: 1.2rem;
	font-weight: 400;
	color: #666;
	text-align: center;
	text-decoration: underline;
}

#pages .sources-card ul
{
	list-style: none;
	padding-left: 0;
	margin: 0;
	column-count: 3;
	column-gap: 1.2em;
}

#pages .sources-card ul li
{
	margin-bottom: 0.2em;
	line-height: 1.15;
	padding-left: 0.5em;
	border-left: 2px solid rgba(0,0,0,0.2);
}

#pages .sources-card ul li a
{
	color: #666;
	text-decoration: none;
	word-break: break-word;
	transition: color 0.2s ease;
	font-weight: normal;
}

#pages .sources-card ul li a:hover
{
	color: var(--color-primary);
}

/* ====================================================== */
/* ------------------- Data-theme ----------------------- */
/* ====================================================== */
section[data-theme="1"]
{
	background-color: #F5C3D1;
}

section[data-theme="1"] .service-card,section[data-theme="1"] .contact-item
{
	background-color: #F5C3D1;
	color: #880E4F;
}

section[data-theme="1"] .service-card:hover,section[data-theme="1"] .contact-item:hover
{
	background-color: #F0AFC4;
}

section[data-theme="2"]
{
	background-color: #FFC4A3;
}

section[data-theme="2"] .service-card,section[data-theme="2"] .contact-item
{
	background-color: #FFC4A3;
	color: #BF360C;
}

section[data-theme="2"] .service-card:hover,section[data-theme="2"] .contact-item:hover
{
	background-color: #FFB48A;
}

section[data-theme="3"]
{
	background-color: #FFF1A8;
}

section[data-theme="3"] .service-card,section[data-theme="3"] .contact-item
{
	background-color: #FFF1A8;
	color: #BF9B30;
}

section[data-theme="3"] .service-card:hover,section[data-theme="3"] .contact-item:hover
{
	background-color: #FFEFA8;
}

section[data-theme="4"]
{
	background-color: #A8D5BA;
}

section[data-theme="4"] .service-card,section[data-theme="4"] .contact-item
{
	background-color: #A8D5BA;
	color: #004D40;
}

section[data-theme="4"] .service-card:hover,section[data-theme="4"] .contact-item:hover
{
	background-color: #94C9A4;
}

section[data-theme="5"]
{
	background-color: #B3DDF2;
}

section[data-theme="5"] .service-card,section[data-theme="5"] .contact-item
{
	background-color: #B3DDF2;
	color: #01579B;
}

section[data-theme="5"] .service-card:hover,section[data-theme="5"] .contact-item:hover
{
	background-color: #81C9F2;
}

/* ====================================================== */
/* ------------------- Google Maps ---------------------- */
/* ====================================================== */
.contact-map iframe
{
	width: 100%;
	height: 450px;
	border: none;
	border-radius: var(--radius);
	box-shadow: var(--shadow-light);
	transition: transform 0.3s ease;
}

.contact-map iframe:hover
{
	transform: scale(1.02);
}

/* ====================================================== */
/* ------------------- Images & Liens ------------------- */
/* ====================================================== */
#pages img.taillephotoprofil
{
	display: block;
	max-width: 200px;
	margin: 0 auto 1.5em auto;
	border-radius: 50%;
}

#pages a
{
	color: var(--color-primary);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

#pages a:hover
{
	color: var(--highlight-color);
}

/* ====================================================== */
/* ------------------- Info-box ------------------------- */
/* ====================================================== */
.info-box
{
	background-color: var(--violet);
	padding: 1em 1.5em;
	border-radius: var(--radius);
	font-weight: 500;
	margin-bottom: 1em;
	text-align: center;
	color: #fff;
}

/* ====================================================== */
/* ------------------- Modern-list / Checklists -------- */
/* ====================================================== */
.justify
{
	text-align: justify;
	
}

.highlight
{
	color: var(--highlight-color);
}

.QQOQ
{
	font-weight: bold;
	text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.modern-list
{
	list-style: none;
	padding-left: 0;
	margin: 1.5em 0;
}

.modern-list li
{
	position: relative;
	padding-left: 2em;
	text-align: justify;
	line-height: 1.6em;
	padding-bottom : 1rem;
}

.modern-list li::before
{
	content: '✓';
	position: absolute;
	left: 0;
	top: 0.2em;
	font-size: 1.2em;
	color: var(--highlight-color);
	font-weight: bold;
}

.modern-list li strong
{
	font-weight: 600;
	color: black;
	margin-bottom: 0.3em;
	font-size: 1.05rem;
}

.modern-list a
{
	color: var(--orange);
	text-decoration: underline;
	word-break: break-word;
	transition: color 0.2s ease;
}

.modern-list a:hover
{
	color: var(--violet);
}

/* ====================================================== */
/* ------------------------- FAQ ------------------------ */
/* ====================================================== */
.faq-item
{
	background-color: rgba(245, 245, 250, 0.5);
	border-radius: var(--radius);
	margin-bottom: 0.8em;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
	transition: box-shadow 0.3s ease, background 0.3s ease;
	cursor: pointer;
}

.faq-item:hover
{
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
	background-color: rgba(245, 245, 250, 0.6);
}

.faq-question
{
	width: 100%;
	padding: 0em 0em 0em 2em;
	font-family: var(--font-header);
	font-size: 1.1rem;
	font-weight: 600;
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--color-text-light);
	transition: color 0.2s ease;
}

.faq-question:hover
{
	color: var(--color-primary);
}

.faq-icon
{
	font-size: 1.2rem;
	transition: transform 0.3s ease, color 0.3s ease;
	color: var(--highlight-color);
}

.faq-item.active .faq-icon
{
	transform: rotate(45deg);
}

.faq-answer
{
	max-height: 0;
	overflow: hidden;
	padding: 0 1em;
	transition: max-height 0.3s ease, padding 0.3s ease;

}

/* ====================================================== */
/* -------------------------- AVIS ---------------------- */
/* ====================================================== */
.avis
{
	text-align: center;
}

.avis a
{
	color: var(--color-text);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.avis a:hover
{
	color: var(--highlight-color);
}

/* ====================================================== */
/* ----------------------- Header ----------------------- */
/* ====================================================== */
.hero-header
{
	position: relative;
	width: 100%;
	min-height: 30vh;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.hero-header::before
{
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(47,168,134,0.75), rgba(173,77,180,0.65));
	backdrop-filter: blur(4px);
	z-index: 1;
}

@supports not ((backdrop-filter: blur(4px)))
{
	.hero-header::before
	{
		background: rgba(47,168,134,0.85);
	}
}

.hero-content
{
	position: relative;
	z-index: 2;
	width: 90%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 2em 0;
}

.hero-text h1#AG
{
	color: #fff;
}

.hero-text
{
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1em;
}

.hero-text h1,.hero-home .hero-text h1
{
	font-family: var(--font-header);
	font-size: clamp(2rem, 5vw, 3.5rem);
	color: var(--highlight-color);
	margin: 0.2em 0;
	text-shadow: 0 4px 12px rgba(0,0,0,0.6);
	text-align: center;
}

.hero-text h2,.hero-home .hero-text h2
{
	font-family: var(--font-header);
	font-size: clamp(1.2rem, 3vw, 2rem);
	margin: 0.4em 0;
	color: var(--orange);
	text-shadow: 0 2px 6px rgba(0,0,0,0.5);
	position: relative;
}

.hero-text h2::after,.hero-home .hero-text h2::after
{
	content: "";
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 40%;
	height: 3px;
	background: var(--highlight-color);
	border-radius: 2px;
}

.hero-side
{
	flex: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	min-width: 30%;
	z-index: 3;
	padding-right: 3em;
}

.hero-side p
{
	font-family: var(--font-header);
	font-size: 2.4vh;
	color: #fff;
	font-weight: bold;
	margin-bottom: 0.6em;
	text-shadow: 0 2px 6px rgba(0,0,0,0.7);
	width: 100%;
}

/* ------------------- Header Blog ------------------- */
.floating-letters span
{
	font-size: 5rem;
	font-weight: bold;
	display: inline-block;
	animation: floatRotate 4s ease-in-out infinite;
	text-shadow: 2px 2px 6px rgba(0,0,0,0.2);
	transform-origin: center;
}

.floating-letters span:nth-child(1)
{
	color: var(--bleu);
	animation-delay: 0s;
}

.floating-letters span:nth-child(2)
{
	color: var(--violet);
	animation-delay: 0.5s;
}

.floating-letters span:nth-child(3)
{
	color: var(--orange);
	animation-delay: 1s;
}

.floating-letters span:nth-child(4)
{
	color: var(--vert);
	animation-delay: 1.5s;
}

@keyframes floatRotate
{
	0%
	{
		transform: translate(0,0) rotate(0deg);
		opacity: 0.8;
	}

	25%
	{
		transform: translate(5px,-15px) rotate(-6deg);
		opacity: 1;
	}

	50%
	{
		transform: translate(0,-8px) rotate(4deg);
		opacity: 0.9;
	}

	75%
	{
		transform: translate(-5px,-12px) rotate(-3deg);
		opacity: 1;
	}

	100%
	{
		transform: translate(0,0) rotate(0deg);
		opacity: 0.8;
	}
}

/* ====================================================== */
/* ----------------------- BOUTONS ---------------------- */
/* ====================================================== */
.btn-retour-container
{
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	text-align: center;
}

.btn-retour, #pages .btn-retour
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35em 1em;
	background-color: #f0f0f0;
	color: #1a3a5a;
	font-family: var(--font-header);
	font-size: 1rem;
	font-weight: 500;
	border-radius: 20px;
	border: 2px solid #c0c0c0;
	text-decoration: none;
	box-shadow: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.btn-retour:hover, #pages .btn-retour:hover
{
	background-color: #d9e4f5;
	transform: translateY(-1px);
}

.btn-retour:active, #pages .btn-retour:active
{
	transform: translateY(0);
}

.btn-retour:focus-visible, #pages .btn-retour:focus-visible
{
	outline: 2px solid #5a86c0;
	outline-offset: 3px;
}

.btn-retour svg, #pages .btn-retour svg
{
	width: 14px;
	height: 14px;
	stroke: currentColor;
	stroke-width: 2;
	margin-left: 0.4em;
}

.btn-rdv, #pages .btn-rdv
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5em 1.5em;
	background-color: #f0f0f0;
	color: #5c3d2e;
	font-family: var(--font-header);
	font-size: 1rem;
	font-weight: 600;
	border-radius: 15px;
	border: none;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
	cursor: pointer;
	text-decoration: none;
	margin-top: 0.5em;
	text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.btn-rdv:hover, #pages .btn-rdv:hover
{
	background-color: #d9e4f5;
	transform: translateY(-1px) scale(1.02);
	box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.btn-rdv:active, #pages .btn-rdv:active
{
	transform: translateY(0);
	box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.btn-rdv:focus-visible, #pages .btn-rdv:focus-visible
{
	outline: 2px solid #e09f5f;
	outline-offset: 3px;
}

.btn-rdv svg, #pages .btn-rdv svg
{
	width: 16px;
	height: 16px;
	stroke: currentColor;
	stroke-width: 2;
	margin-left: 0.5em;
}

/* ====================================================== */
/* ------------------------- Menu ----------------------- */
/* ====================================================== */
nav
{
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-hover);
	padding: 0.8em 2em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2em;
	flex-wrap: wrap;
	font-family: var(--font-main);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav:hover
{
	background: #fff;
	box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

nav .logo
{
	font-family: var(--font-header);
	font-size: 2.2rem;
	font-weight: bold;
	color: var(--highlight-color);
	text-align: center;
	flex: 0 0 auto;
	cursor: pointer;
	transition: transform 0.25s ease, color 0.25s ease;
}

nav .logo:hover
{
	transform: scale(1.05);
	color: var(--color-primary);
}

nav .titremenu
{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2em;
	flex: 1 1 auto;
	transition: all 0.3s ease;
}

nav .titremenu a
{
	position: relative;
	color: var(--color-primary);
	font-size: 1.1rem;
	font-weight: 500;
	text-decoration: none;
	padding: 0.5em 1em;
	text-align: center;
	border-radius: 10px;
	transition: color 0.25s ease, transform 0.25s ease;
}

nav .titremenu a::after
{
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 3px;
	background: var(--orange);
	border-radius: 3px;
	transition: width 0.25s ease;
}

nav .titremenu a:hover,nav .titremenu a:focus,nav .titremenu a:focus-visible
{
	color: var(--highlight-color);
}

nav .titremenu a:hover::after,nav .titremenu a:focus::after,nav .titremenu a:focus-visible::after
{
	width: 100%;
}

/* ------------------- Menu hamburger ------------------- */
.menu-toggle
{
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 35px;
	height: 30px;
	cursor: pointer;
	z-index: 1000;
}

.menu-toggle span
{
	display: block;
	width: 100%;
	height: 4px;
	background: var(--highlight-color);
	border-radius: 2px;
	transition: all 0.25s ease;
}

.menu-toggle.open span:nth-child(1)
{
	transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.open span:nth-child(2)
{
	opacity: 0;
}

.menu-toggle.open span:nth-child(3)
{
	transform: rotate(-45deg) translate(6px, -6px);
}

/* ------------------- Menu ouvert (mobile) ------------------- */
nav .titremenu.active
{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-height: 500px;
	animation: fadeMenu 0.35s ease forwards;
	gap: 1.5em;
}

@keyframes fadeMenu
{
	from
	{
		opacity: 0;
		transform: translateY(-15px);
	}

	to
	{
		opacity: 1;
		transform: translateY(0);
	}
}

/* ====================================================== */
/* ------------------ Footer Principal ------------------ */
/* ====================================================== */
footer#pied
{
	background: linear-gradient(135deg, rgba(173,77,180,0.95), rgba(47,168,134,0.85));
	backdrop-filter: blur(4px);
	color: #fff;
	padding: 2.5em 2em;
	border-radius: 15px 15px 0 0;
	font-family: var(--font-main);
	box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.txtpied
{
	max-width: 1200px;
	margin: auto;
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.footer-bottom a
{
	display:inline-flex;
	align-items: center;
	gap: 0.3em;
	word-wrap: break-word;
}

.footer-top
{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	padding-bottom: 1.5em;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	gap: 1em;
}

.footer-left,.footer-right
{
	flex: 1;
	min-width: 220px;
}

.footer-left strong
{
	font-size: 1.4rem;
	color: #fff;
}

.footer-left em
{
	font-size: 1.1rem;
	font-style: italic;
	color: var(--color-text-light);
}

.footer-right
{
	font-size: 0.85rem;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.footer-right .legal-links
{
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.footer-right a,.footer-bottom a
{
	color: #fff;
	text-decoration: none;
	font-size: 0.85rem;
	transition: color 0.3s ease, outline 0.3s ease, padding 0.3s ease;
}

.footer-right a:hover,.footer-right a:focus,.footer-bottom a:hover,.footer-bottom a:focus
{
	color: var(--color-primary);
	outline: 2px solid var(--orange);
	padding: 2px 4px;
	border-radius: 4px;
}

.footer-bottom
{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1em;
	padding-top: 1em;
	font-size: 0.9rem;
	color: #fff;
}

.footer-bottom svg
{
	width: 1em;
	height: 1em;
	fill: var(--orange);
	transition: transform 0.2s ease;
	margin-right: 0.3em;
	vertical-align: middle;
}

.footer-bottom a svg
{
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.3em;
}

.footer-bottom span
{
	display: flex;
	align-items: center;
	gap: 0.3em;
}

.footer-partners
{
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	gap: 0.8em;
}

.footer-partners a img
{
	max-height: 40px;
	width: auto;
	object-fit: contain;
	filter: grayscale(20%) brightness(95%);
	transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-partners a img:hover
{
	transform: scale(1.05);
	filter: none;
}

.error-card
{
	align-items: center;
	text-align: center;
}

/* ====================================================== */
/* ------------------- responsive.css ------------------- */
/* ====================================================== */
/* ------------------- Tablettes (768px - 1024px) ------ */
@media (max-width: 1024px)
{
	#pages
	{
		padding: 1.5em;
	}

	.content-box
	{
		padding: 1.5em;
	}

	.hero-home
	{
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
		gap: 1.5em;
	}

	.hero-home .hero-image
	{
		flex: 0 0 200px;
		max-width: 100%;
		margin: 0 auto;
	}

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

	.hero-home .hero-text h2
	{
		font-size: 1.6rem;
	}

	.hero-header
	{
		min-height: 28vh;
		flex-direction: column;
		gap: 1rem;
	}

	.hero-content
	{
		gap: 1.2em;
		flex-direction: column;
		align-items: center;
	}

	.hero-text h1
	{
		font-size: 1rem;
		text-align: center;
	}

	.hero-text h2
	{
		font-size: 0.8rem;
		text-align: center;
	}

	.floating-letters span
	{
		font-size: 1rem;
	}

	#pages h1
	{
		font-size: 2rem;
	}

	#pages h2
	{
		font-size: 1.7rem;
	}

	#pages h3
	{
		font-size: 1.4rem;
	}

	#pages p
	{
		font-size: 1rem;
	}

	.cards-container
	{
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 1.5em;
	}

	.service-card, .card, .card-step, .emdr-block, .mutuelle-card, .contact-item
	{
		padding: 1.5em;
	}

	.icon-circle
	{
		width: 50px;
		height: 50px;
	}

	.icon-circle img
	{
		width: 45%;
		height: 45%;
	}

	nav
	{
		padding: 0.8em 1.5em;
		gap: 1.5em;
	}

	nav .logo
	{
		font-size: 2rem;
	}

	nav .titremenu
	{
		gap: 1.5em;
		flex-wrap: wrap;
		justify-content: center;
	}

	.footer-top
	{
		flex-direction: column;
	}

	.footer-right
	{
		align-items: flex-start;
	}

	.footer-bottom
	{
		flex-direction: column;
		text-align: center;
		word-wrap: break-word;
	}

	.footer-bottom span
	{
		justify-content: center;
	}

	#pages .sources-card ul
	{
		column-count: 2;
	}

	.footer-partners
	{
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem;
	}
}

/* ------------------- Mobiles (max 768px) -------------- */
@media (max-width: 768px)
{
	#pages
	{
		padding: 1em;
	}

	.content-box
	{
		padding: 1em;
	}

	.hero-home
	{
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1em;
	}

	.hero-home .hero-image
	{
		flex: 0 0 150px;
		max-width: 80%;
	}

	.hero-home .hero-text h1
	{
		font-size: 1.6rem;
	}

	.hero-home .hero-text h2
	{
		font-size: 1.3rem;
	}

	.hero-header
	{
		min-height: 22vh;
		gap: 0.8rem;
	}

	.hero-text h1
	{
		font-size: 0.9rem;
	}

	.hero-text h2
	{
		font-size: 0.75rem;
	}

	.floating-letters span
	{
		font-size: 0.9rem;
	}

	#pages h1
	{
		font-size: 1.6rem;
	}

	#pages h2
	{
		font-size: 1.3rem;
	}

	#pages h3
	{
		font-size: 1.1rem;
	}

	#pages p
	{
		font-size: 0.95rem;
		line-height: 1.4em;
	}

	.cards-container
	{
		grid-template-columns: 1fr;
		gap: 1em;
	}

	.service-card, .card, .card-step, .emdr-block, .mutuelle-card, .contact-item
	{
		padding: 1em;
	}

	.icon-circle
	{
		width: 40px;
		height: 40px;
	}

	.icon-circle img
	{
		width: 40%;
		height: 40%;
	}

	.menu-toggle
	{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-end;
		width: 40px;
		height: 40px;
		cursor: pointer;
	}

	.menu-toggle span
	{
		display: block;
		width: 100%;
		height: 3px;
		margin: 5px 0;
		background: var(--color-primary);
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	nav
	{
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0.6em 1em;
	}

	nav .logo
	{
		font-size: 1.3rem;
	}

	nav .titremenu
	{
		display: none;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: max-height 0.35s ease, opacity 0.35s ease;
	}

	nav .titremenu.active
	{
		display: flex;
		max-height: 500px;
		opacity: 1;
	}

	nav .titremenu a
	{
		font-size: 1rem;
		padding: 0.5em 0.8em;
	}

	.footer-top
	{
		flex-direction: column;
		gap: 1rem;
	}

	.footer-bottom
	{
		flex-direction: column;
		text-align: center;
		font-size: 0.85rem;
	}
}

/* ------------------- Petits écrans (≤ 481px) ---------- */
@media (max-width: 481px)
{
	#pages
	{
		padding: 0.8em;
	}

	.content-box
	{
		padding: 0.8em;
	}

	.hero-home .hero-image
	{
		flex: 0 0 120px;
		max-width: 70%;
	}

	.hero-home .hero-text h1
	{
		font-size: 1.4rem;
	}

	.hero-home .hero-text h2
	{
		font-size: 1.1rem;
	}

	#pages h1
	{
		font-size: 1.4rem;
	}

	#pages h2
	{
		font-size: 1.2rem;
	}

	#pages h3
	{
		font-size: 1rem;
	}

	#pages p
	{
		font-size: 0.9rem;
		line-height: 1.4em;
	}

	.btn-retour, .btn-rdv
	{
		font-size: 0.9rem;
		padding: 0.4em 1em;
	}

	.menu-toggle
	{
		width: 30px;
		height: 30px;
	}

	.menu-toggle span
	{
		height: 2px;
		margin: 4px 0;
	}

	nav .titremenu a
	{
		font-size: 0.9rem;
		padding: 0.4em;
	}

	.service-card, .card, .card-step, .emdr-block, .mutuelle-card, .contact-item
	{
		padding: 0.8em;
	}

	.icon-circle
	{
		width: 35px;
		height: 35px;
	}

	.footer-bottom
	{
		font-size: 0.8rem;
		line-height: 1.3em;
	}

	.footer-partners img
	{
		max-width: 90px;
	}
}
