/*!
Theme Name: ENSAM
Theme URI: http://underscores.me/
Author: b.Mourad
Author URI: http://underscores.me/
Description: academic
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ensam-meknes
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ENSAM is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}


/* ═══════════════════════════════════════════════════════════════
   CUSTOM – ENSAM Theme (Eduma EdTech style)
═══════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
	--color-primary:  #066d95;
	--color-accent:   #f59423;
	--color-white:    #ffffff;
	--color-text:     #555555;
	--color-light:    #f5f7fa;
	--color-dark:     #2b3a4a;
	--font-main:      'Mulish', 'Segoe UI', sans-serif;
	--font-heading:   'Merriweather', Georgia, serif;
	--radius:         6px;
	--shadow:         0 4px 24px rgba(0,0,0,.10);
}

/* ─── BASE ───────────────────────────────────────────────────── */
body {
	background: #fff;
	color: var(--color-text);
	font-family: var(--font-main);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--color-primary);
}

a { color: var(--color-primary); }
a:visited { color: var(--color-primary); }

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ─── HEADER ─────────────────────────────────────────────────── */
.site-header {
	background: #f2f3f5;
	position: sticky;
	top: 0;
	z-index: 9999;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	padding: 0 2.4rem;
	min-height: 86px;
	box-shadow: 0 2px 8px rgba(0,0,0,.10);
	border-bottom: 1px solid #e0e2e6;
	transition: min-height .3s ease, padding .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
	min-height: 72px;
	padding: 0 2rem;
	box-shadow: 0 2px 14px rgba(0,0,0,.13);
}

.site-branding {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-branding .custom-logo-link img {
	max-height: 62px;
	width: auto;
	transition: max-height .3s ease;
}
.site-header.scrolled .site-branding .custom-logo-link img { max-height: 52px; }
.site-branding .custom-logo-link { display: inline-block; }

.site-title-link {
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: .04em;
}

.site-description { display: none; }

/* Header text colors for light background */
.site-header,
.site-header h1,
.site-header h2,
.site-header p,
.site-header a,
.site-header a:visited,
.site-header .site-title,
.site-header .site-title a,
.site-header .site-title a:visited {
	color: var(--color-primary) !important;
}
.site-header a:hover { color: var(--color-accent) !important; }

/* Navigation */
.main-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Override the WP default display:none on nav ul (top level only) */
.main-navigation ul,
.main-navigation ul.menu,
#primary-menu {
	display: flex !important;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
	align-items: center;
}

.main-navigation ul li { position: relative; }

.main-navigation ul li a {
	display: block;
	color: var(--color-primary);
	text-decoration: none;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 1.8rem 1.1rem;
	white-space: nowrap;
	transition: color .2s, padding .3s ease;
}
.site-header.scrolled .main-navigation ul li a { padding: 1.5rem .95rem; }

.main-navigation ul li a:hover,
.main-navigation ul li a:focus { color: var(--color-accent); }

/* Arrow indicator for parent items */
.main-navigation ul li.menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	margin-left: .45em;
	vertical-align: middle;
	transition: transform .25s ease;
}
.main-navigation ul li.menu-item-has-children:hover > a::after {
	transform: rotate(180deg);
}

/* ── Submenu – modern animated ── */
.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border-radius: 12px;
	min-width: 220px;
	box-shadow: 0 16px 48px rgba(6,109,149,.18), 0 2px 8px rgba(0,0,0,.07);
	z-index: 10000;
	padding: .5rem 0;
	padding-top: .75rem;
	margin-top: -2px;
	list-style: none;
	border-top: 3px solid var(--color-accent);
	/* opacity/visibility animation instead of display:none */
	display: flex !important;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-10px);
	transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}

/* Bridge pseudo-element fills the gap so mouse doesn't lose hover */
.main-navigation ul ul::before {
	content: '';
	position: absolute;
	top: -12px;
	left: 0;
	right: 0;
	height: 12px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition: opacity .22s ease, transform .22s ease, visibility 0s linear 0s;
}

.main-navigation ul ul li a {
	padding: .65rem 1.4rem;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: none;
	color: #2c3e50;
	border-left: 3px solid transparent;
	transition: color .2s, background .2s, border-color .2s, padding-left .2s;
}
.main-navigation ul ul li a:hover,
.main-navigation ul ul li a:focus {
	color: var(--color-accent) !important;
	background: rgba(245,148,35,.07);
	border-left-color: var(--color-accent);
	padding-left: 1.7rem;
}

/* Hamburger */
.menu-toggle {
	display: none;
	background: none;
	border: 2px solid var(--color-primary);
	color: var(--color-primary);
	padding: .35rem .75rem;
	font-size: 1.1rem;
	cursor: pointer;
	border-radius: 4px;
}

@media (max-width: 768px) {
	.site-header { grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: .75rem 1rem; min-height: auto; }
	.main-navigation { grid-column: 1 / -1; width: 100%; justify-content: flex-start; }
	.menu-toggle { display: block; }
	.main-navigation ul,
	.main-navigation ul.menu,
	#primary-menu { display: none !important; flex-direction: column; width: 100%; }
	.main-navigation.toggled ul,
	.main-navigation.toggled ul.menu,
	.main-navigation.toggled #primary-menu { display: flex !important; }
	.main-navigation ul li a { padding: .7rem 1rem; border-bottom: 1px solid rgba(0,0,0,.06); }
	.main-navigation ul li.menu-item-has-children > a::after { display: none; }
	.main-navigation ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		box-shadow: none;
		border-radius: 0;
		border-top: none;
		border-left: 3px solid var(--color-accent);
		padding: 0;
		margin-left: 1rem;
		background: rgba(6,109,149,.04);
		display: none !important;
	}
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul { display: flex !important; }
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
	display: inline-block;
	background: var(--color-primary);
	color: #fff;
	padding: .8rem 2rem;
	font-size: .92rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--radius);
	border: 2px solid var(--color-primary);
	transition: background .25s, color .25s;
	cursor: pointer;
}
.btn-primary:hover { background: transparent; color: var(--color-primary); }

.btn-accent {
	display: inline-block;
	background: var(--color-accent);
	color: #fff;
	padding: .8rem 2rem;
	font-size: .92rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--radius);
	border: 2px solid var(--color-accent);
	transition: background .25s, color .25s;
	cursor: pointer;
}
.btn-accent:hover { background: transparent; color: var(--color-accent); }

.btn-outline {
	display: inline-block;
	background: transparent;
	color: var(--color-primary);
	padding: .75rem 2rem;
	font-size: .92rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--radius);
	border: 2px solid var(--color-primary);
	transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ─── SECTION SHARED ─────────────────────────────────────────── */
.section-title {
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	margin: 0 0 2.5rem;
	color: var(--color-primary);
}
.section-title--white { color: #fff; }

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}
.section-header .section-title { margin-bottom: 0; text-align: left; }

/* ─── 1. HERO SLIDER ─────────────────────────────────────────── */
.home-hero-slider {
	position: relative;
	width: 100%;
	min-height: 82vh;
	overflow: hidden;
	background: linear-gradient(135deg, #0a1932 0%, #1c3f72 60%, #0a1932 100%);
}

.home-hero-slider__track {
	position: relative;
	width: 100%;
	min-height: 82vh;
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity .9s ease;
	z-index: 1;
}
.hero-slide.is-active { opacity: 1; z-index: 2; }

.hero-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(10,25,60,.88) 0%, rgba(10,25,60,.55) 55%, rgba(10,25,60,.15) 100%);
}

.hero-slide__content {
	position: relative;
	z-index: 3;
	width: 100%;
	padding: 5rem 0;
}

.hero-slide__title {
	color: #fff;
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	line-height: 1.18;
	margin: 0 0 .9rem;
	max-width: 640px;
}

.hero-slide__subtitle {
	color: rgba(255,255,255,.88);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	max-width: 560px;
	margin-bottom: 2.2rem;
	line-height: 1.7;
}

.btn-hero-primary {
	display: inline-block;
	background: var(--color-accent);
	color: #fff;
	padding: .9rem 2.4rem;
	font-size: .95rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: var(--radius);
	border: 2px solid var(--color-accent);
	letter-spacing: .04em;
	text-transform: uppercase;
	transition: background .25s, color .25s;
}
.btn-hero-primary:hover { background: transparent; color: #fff; }

.hero-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: none;
	border: none;
	color: rgba(255,255,255,.75);
	font-size: 2.8rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 .5rem;
	transition: color .2s;
}
.hero-slider__arrow:hover { color: #fff; }
.hero-slider__arrow--prev { left: 1rem; }
.hero-slider__arrow--next { right: 1rem; }

.hero-slider__dots {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: .5rem;
}
.hero-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,.4);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background .3s;
}
.hero-slider__dot.is-active { background: var(--color-accent); }

/* ─── 2. STATS BAR ───────────────────────────────────────────── */
.hero-stats-bar {
	background: #fff;
	box-shadow: 0 4px 20px rgba(0,0,0,.10);
	padding: 1.2rem 0;
	position: relative;
	z-index: 5;
}

.hero-stats-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-around;
}

.hero-stat {
	display: flex;
	align-items: center;
	gap: .9rem;
	padding: .8rem 1.5rem;
	flex: 1 1 220px;
}
.hero-stat + .hero-stat { border-left: 1px solid #e8e8e8; }

.hero-stat__icon { width: 2.4rem; height: 2.4rem; color: var(--color-accent); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.hero-stat__icon svg { width: 100%; height: 100%; }

.hero-stat__text strong {
	display: block;
	font-size: .93rem;
	font-weight: 700;
	color: var(--color-primary);
}
.hero-stat__text span { font-size: .78rem; color: #999; }

@media (max-width: 680px) {
	.hero-stat { flex: 1 1 100%; }
	.hero-stat + .hero-stat { border-left: none; border-top: 1px solid #e8e8e8; }
}

/* ─── 3. PROGRAMS ────────────────────────────────────────────── */
.section-programs {
	padding: 2.5rem 0;
	background: #fff;
}

.programs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.program-card {
	background: var(--color-light);
	border-radius: var(--radius);
	padding: 0 0 1.25rem;
	overflow: hidden;
	text-align: left;
	transition: transform .25s, box-shadow .25s;
	border-bottom: 3px solid transparent;
}
.program-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-bottom-color: var(--color-accent);
}
.program-card__img-wrap { display: block; overflow: hidden; margin: 0; }
.program-card__img-wrap img { width: 100%; height: 160px; object-fit: cover; display: block; transition: transform .4s ease; }
.program-card:hover .program-card__img-wrap img { transform: scale(1.05); }
.program-card__icon { font-size: 2.4rem; margin: 1rem 1.25rem .5rem; display: block; }
.program-card__title { font-size: 1rem; font-weight: 700; color: var(--color-primary); margin: .75rem 1.25rem .4rem; }
.program-card__title a { color: inherit; text-decoration: none; }
.program-card__title a:hover { color: var(--color-accent); }
.program-card__desc  { font-size: .83rem; color: #777; line-height: 1.6; margin: 0 1.25rem; }

@media (max-width: 900px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .programs-grid { grid-template-columns: 1fr; } }

/* ─── 4. SOUTENANCES DE THÈSES ───────────────────────────────── */
.section-theses { padding: 5rem 0; background: var(--color-light); }

/* Grille : 40% featured + 30% + 30% */
.theses-grid {
	display: grid;
	grid-template-columns: 40% 30% 30%;
	gap: 1.25rem;
	align-items: start;
}

/* Card commune */
.thesis-card {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition: transform .25s, box-shadow .25s;
}
.thesis-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(0,0,0,.14); }

/* Image */
.thesis-card__img-link {
	display: block; position: relative; overflow: hidden;
	text-decoration: none;
}
.thesis-card__img-link img {
	width: 100%; display: block; object-fit: cover;
	transition: transform .4s ease;
}
.thesis-card:hover .thesis-card__img-link img { transform: scale(1.04); }
.thesis-card__img-link .thesis-card__no-img {
	background: linear-gradient(135deg, var(--color-primary), #0a9fd4);
	display: flex; align-items: center; justify-content: center;
}
.thesis-card__no-img svg { width: 3rem; height: 3rem; color: rgba(255,255,255,.45); }

/* Badge superpose sur l'image */
.thesis-card__badge-overlay {
	position: absolute; top: .75rem; left: .75rem;
	background: var(--color-accent); color: #fff;
	font-size: .65rem; font-weight: 700; letter-spacing: .09em;
	text-transform: uppercase; padding: .22rem .7rem; border-radius: 3px;
}

/* Hauteur image card normale */
.thesis-card__img-link img,
.thesis-card__no-img { height: 180px; }

/* Card mise en valeur (1ere) */
.thesis-card--featured .thesis-card__img-link img,
.thesis-card--featured .thesis-card__no-img { height: 260px; }
.thesis-card--featured .thesis-card__title { font-size: 1rem; }
.thesis-card--featured .thesis-card__candidate { font-size: 1.05rem; }

/* Contenu */
.thesis-card__body { padding: 1.2rem 1.1rem; flex: 1; display: flex; flex-direction: column; gap: .55rem; }

.thesis-card__candidate {
	font-size: .88rem; font-weight: 800; text-transform: uppercase;
	letter-spacing: .04em; color: var(--color-primary); margin: 0;
}

.thesis-card__title {
	font-size: .85rem; font-weight: 600; color: #333;
	line-height: 1.55; margin: 0; flex: 1;
}
.thesis-card__title a { color: inherit; text-decoration: none; }
.thesis-card__title a:hover { color: var(--color-accent); }

.thesis-card__metas { display: flex; flex-direction: column; gap: .3rem; margin-top: .2rem; }
.thesis-card__meta-item {
	display: flex; align-items: flex-start; gap: .4rem;
	font-size: .75rem; color: #777; margin: 0; line-height: 1.4;
}
.thesis-card__meta-item svg { width: .9rem; height: .9rem; flex-shrink: 0; margin-top: .1rem; color: var(--color-accent); }

.theses-empty { text-align: center; color: #888; padding: 2rem 0; grid-column: 1 / -1; }

.btn-outline {
	display: inline-block; padding: .55rem 1.4rem;
	border: 2px solid var(--color-accent); color: var(--color-accent);
	border-radius: 30px; font-weight: 700; font-size: .85rem;
	text-decoration: none; transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--color-accent); color: #fff; }

@media (max-width: 900px) {
	.theses-grid { grid-template-columns: 1fr 1fr; }
	.thesis-card--featured { grid-column: 1 / -1; }
	.thesis-card--featured .thesis-card__img-link img,
	.thesis-card--featured .thesis-card__no-img { height: 220px; }
}
@media (max-width: 560px) {
	.theses-grid { grid-template-columns: 1fr; }
}

/* ─── SINGLE THESE ───────────────────────────────────────────── */
.thesis-single { padding: 3rem 0 5rem; }

.thesis-single__card {
	max-width: 820px; margin: 0 auto;
	background: #fff; border-radius: var(--radius);
	box-shadow: 0 4px 40px rgba(0,0,0,.08);
	position:relative;
	z-index: 10;
	padding: 3rem;
	margin-bottom: -180px;
}

.thesis-single__header {
	text-align: center; margin-bottom: 2rem;
	padding-bottom: 1.5rem; border-bottom: 2px solid var(--color-light);
}
.thesis-badge {
	display: inline-block;
	background: var(--color-primary); color: #fff;
	font-size: .75rem; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; padding: .35rem 1rem;
	border-radius: 30px; margin-bottom: 1rem;
}
.thesis-single__name {
	font-size: 1.6rem; font-weight: 800;
	color: var(--color-primary); margin: 0;
}

.thesis-single__intro { margin-bottom: 1.5rem; color: #555; line-height: 1.8; }
.thesis-single__candidate-bold {
	font-size: 1.15rem; font-weight: 700;
	color: var(--color-primary); text-align: center;
	margin: 1rem 0; padding: .75rem;
	background: var(--color-light); border-radius: var(--radius);
}

.thesis-single__thesis-title {
	background: linear-gradient(135deg, var(--color-primary), #2a6cbf);
	color: #fff; padding: 1.25rem 1.5rem;
	border-radius: var(--radius); margin-bottom: 1.5rem;
	font-size: 1.05rem; font-weight: 600; line-height: 1.6; text-align: center;
}
.thesis-single__thesis-title p { margin: 0; }

.thesis-single__details { margin-bottom: 1.5rem; line-height: 2; color: #444; }
.thesis-single__details p { margin: 0; }

.thesis-single__jury { margin-bottom: 1.5rem; }
.thesis-single__jury h2 {
	font-size: 1rem; font-weight: 700;
	color: var(--color-primary); margin-bottom: .75rem;
}
.thesis-jury-list {
	list-style: none; padding: 0; margin: 0;
	border: 1px solid #eee; border-radius: var(--radius); overflow: hidden;
}
.thesis-jury-list li {
	padding: .65rem 1rem; font-size: .88rem; color: #444;
	border-bottom: 1px solid #f0f0f0;
}
.thesis-jury-list li:last-child { border-bottom: none; }
.thesis-jury-list li:nth-child(odd) { background: var(--color-light); }

.thesis-single__directors { margin-bottom: 1.5rem; line-height: 2; color: #444; }
.thesis-single__directors p { margin: 0; }

.thesis-single__meta {
	display: flex; flex-wrap: wrap; gap: 1.5rem;
	background: var(--color-light); border-radius: var(--radius);
	padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.thesis-meta-item { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: #555; }
.thesis-meta-item svg { width: 1.1rem; height: 1.1rem; color: var(--color-accent); flex-shrink: 0; }

.btn-thesis-pdf {
	display: inline-flex; align-items: center; gap: .5rem;
	background: var(--color-accent); color: #fff;
	padding: .7rem 1.5rem; border-radius: 30px;
	font-weight: 700; font-size: .88rem; text-decoration: none;
	transition: opacity .2s;
}
.btn-thesis-pdf:hover { opacity: .88; }
.btn-thesis-pdf svg { width: 1rem; height: 1rem; }

.thesis-single__pdf { margin-bottom: 2rem; }
.thesis-single__back a {
	color: var(--color-accent); font-size: .88rem;
	text-decoration: none; font-weight: 600;
}
.thesis-single__back a:hover { text-decoration: underline; }

/* ─── 5. MOT DU DIRECTEUR ────────────────────────────────────── */
.section-directeur {
	padding: 5rem 0;
	background: linear-gradient(135deg, #0a1e3d 0%, #066d95 100%);
}

.directeur-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 4rem;
	align-items: center;
}

.directeur-photo img {
	width: 100%;
	max-height: 500px;
	object-fit: cover;
	display: block;
}

.section-label {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: .5rem;
}

.directeur-quote {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	font-style: italic;
	color: rgba(255,255,255,.9);
	line-height: 1.7;
	border-left: 4px solid var(--color-accent);
	padding-left: 1.25rem;
	margin: 0 0 2rem;
}

.directeur-bio { margin-bottom: 2rem; }
.directeur-name  { font-size: 1.1rem; font-weight: 800; color: #fff; }
.directeur-title { font-size: .88rem; color: rgba(255,255,255,.65); margin-top: .25rem; }

@media (max-width: 860px) {
	.directeur-inner { grid-template-columns: 1fr; gap: 2rem; }
	.directeur-photo img { max-height: 320px; }
}

/* ─── 6. REGISTER / CTA ──────────────────────────────────────── */
.section-register {
	position: relative;
	padding: 5rem 0;
	background: var(--color-primary);
	background-size: cover;
	background-position: center;
}

.section-register__overlay {
	position: absolute;
	inset: 0;
	background: rgba(13,31,64,.82);
}

.section-register__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.register-left h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 .5rem; }
.register-left p  { color: rgba(255,255,255,.75); font-size: 1.05rem; margin: 0 0 2rem; }

/* Countdown */
.countdown { display: flex; gap: 1rem; flex-wrap: wrap; }
.countdown-item {
	background: rgba(255,255,255,.12);
	border-radius: var(--radius);
	padding: .75rem 1rem;
	text-align: center;
	min-width: 72px;
}
.countdown-num {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	color: var(--color-accent);
	line-height: 1;
}
.countdown-label { font-size: .7rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .1em; }

/* Register form */
.register-form {
	display: flex;
	flex-direction: column;
	gap: .9rem;
}

.register-form input {
	padding: .85rem 1.1rem;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: var(--radius);
	background: rgba(255,255,255,.1);
	color: #fff;
	font-size: .93rem;
	width: 100%;
}
.register-form input::placeholder { color: rgba(255,255,255,.55); }
.register-form input:focus { outline: none; border-color: var(--color-accent); background: rgba(255,255,255,.15); }
.register-form .btn-accent { width: 100%; text-align: center; padding: .95rem; }

@media (max-width: 768px) { .section-register__inner { grid-template-columns: 1fr; } }

/* ─── 7. ABOUT US ────────────────────────────────────────────── */
.section-about { padding: 2.5rem 0; background: #fff; }

.section-about__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about-image {
	position: relative;
	height: 480px;
}

/* Image 1 — portrait principal, haut-gauche */
.about-img--1 {
	position: absolute;
	top: 0; left: 0;
	width: 62%; height: 380px;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: 0 16px 48px rgba(0,0,0,.18);
	z-index: 2;
}

/* Image 2 — portrait secondaire, décalé diagonalement bas-droite */
.about-img--2 {
	position: absolute;
	bottom: 0; right: 0;
	width: 62%; height: 360px;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: 0 16px 48px rgba(0,0,0,.14);
	z-index: 1;
}

/* Image décorative — centrée dans la zone vide haut-droite (62%→100% / 0→120px) */
.about-img--spin {
	position: absolute;
	top: 16px;           /* centre vertical : (120px - 88px) / 2 */
	left: calc(81% - 44px); /* centre horizontal : 62% + 19% - demi-largeur */
	width: 88px; height: 88px;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid #fff;
	box-shadow: 0 6px 24px rgba(6,109,149,.35);
	z-index: 3;
	animation: about-spin 10s linear infinite;
}

/* Placeholder fallback pour l'image décorative */
.about-spin-placeholder {
	position: absolute;
	top: 16px;
	left: calc(81% - 44px);
	width: 88px; height: 88px;
	border-radius: 50%;
	background: var(--color-primary);
	border: 4px solid #fff;
	box-shadow: 0 6px 24px rgba(6,109,149,.35);
	z-index: 3;
	display: flex; align-items: center; justify-content: center;
	color: #fff;
	animation: about-spin 10s linear infinite;
}
.about-spin-placeholder svg { width: 44px; height: 44px; }

/* Placeholder fallback pour les portraits */
.about-placeholder {
	background: var(--color-light);
}

@keyframes about-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

.about-content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0 0 1rem; }
.about-content > p { color: var(--color-text); line-height: 1.8; margin-bottom: 1.75rem; }

.about-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.2rem;
	margin-bottom: 2rem;
}

.about-stat {
	background: var(--color-light);
	border-radius: var(--radius);
	padding: 1rem 1.2rem;
	border-left: 4px solid var(--color-accent);
}
.about-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--color-primary); }
.about-stat span   { font-size: .82rem; color: #888; }

@media (max-width: 768px) { .section-about__inner { grid-template-columns: 1fr; } }

/* ─── 7. RECHERCHE & COOPERATION ────────────────────────────── */
.section-recherche {
	padding: 5rem 0;
	background: var(--color-light);
}

.recherche-wrapper .section-header {
	flex-direction: column;
	align-items: flex-start;
	margin-bottom: 2rem;
}
.section-header .section-title { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: .3rem 0 0; }

.recherche-tabs {
	display: flex;
	gap: .5rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
	border-bottom: 2px solid #e0e2e6;
	padding-bottom: 0;
}

.tab-btn {
	padding: .65rem 1.4rem;
	border: none;
	background: none;
	font-size: 1.2rem;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	transition: color .2s, border-color .2s;
}
.tab-btn.active  { color: var(--color-primary); border-bottom-color: var(--color-accent); }
.tab-btn:hover   { color: var(--color-primary); }

.tab-content     { display: none; }
.tab-content.active { display: block; }

.labo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 900px) { .labo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .labo-grid { grid-template-columns: 1fr; } }

.labo-card {
	position: relative;
	background: #fff;
	border-radius: var(--radius);
	padding: 1.75rem 1.5rem;
	box-shadow: var(--shadow);
	text-decoration: none;
	color: inherit;
	transition: box-shadow .3s, transform .2s;
	display: block;
	overflow: hidden;
}

/* Cadre orange animé de haut en bas */
.labo-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border: 2px solid var(--color-accent);
	border-radius: var(--radius);
	clip-path: inset(0 0 100% 0);
	transition: clip-path .45s ease;
	pointer-events: none;
}

.labo-card:hover::before,
.labo-card:focus-within::before {
	clip-path: inset(0 0 0% 0);
}

.labo-card:hover { box-shadow: 0 10px 32px rgba(6,109,149,.15); transform: translateY(-3px); }

.labo-icon { font-size: 2rem; color: var(--color-primary); margin-bottom: .75rem; }
.labo-card h3 { font-size: 1rem; font-weight: 700; color: var(--color-primary); margin: 0 0 .5rem; }
.labo-card p  { font-size: .83rem; color: #777; line-height: 1.5; margin: 0; }

.partenaires-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	align-items: center;
}

.partenaire-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 140px;
	height: 80px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: .75rem;
	text-decoration: none;
	transition: box-shadow .2s;
}
.partenaire-logo:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.partenaire-logo img  { max-width: 100%; max-height: 100%; object-fit: contain; }
.partenaire-logo span { font-size: .78rem; font-weight: 600; color: var(--color-primary); text-align: center; }

.tab-empty { color: #999; font-size: .88rem; padding: 1.5rem 0; }
.tab-empty a { color: var(--color-accent); }

/* ─── 8. ESPACE ETUDIANT ─────────────────────────────────────── */
.section-etudiant {
	padding: 5rem 0;
	background: #fff;
}

.section-header.centered {
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 3rem;
}
.section-header.centered .section-title { text-align: center; margin-bottom: 0; }
.section-subtitle { font-size: 1rem; color: #777; margin-top: .5rem; }

.etudiant-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.etudiant-card {
	background: var(--color-light);
	border-radius: var(--radius);
	padding: 2rem 1.5rem;
	text-align: center;
	border-top: 4px solid transparent;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.etudiant-card:hover {
	border-top-color: var(--color-accent);
	box-shadow: 0 8px 28px rgba(6,109,149,.12);
	transform: translateY(-4px);
}
.etudiant-icon {
	font-size: 2.2rem;
	color: var(--color-primary);
	margin-bottom: 1rem;
}
.etudiant-card h3 { font-size: 1rem; font-weight: 700; color: var(--color-primary); margin: 0 0 .6rem; }
.etudiant-card p  { font-size: .84rem; color: #666; line-height: 1.6; margin: 0 0 1.25rem; }
.card-link {
	font-size: .82rem;
	font-weight: 700;
	color: var(--color-accent);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: opacity .2s;
}
.card-link:hover { opacity: .75; }

@media (max-width: 900px) { .etudiant-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .etudiant-grid { grid-template-columns: 1fr; } }

/* ─── 9. BADGES STRIP ────────────────────────────────────────── */
.section-badges { padding: 2rem 0; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }

.badges-row {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 1rem;
}

.badge-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .3rem;
	color: var(--color-primary);
}
.badge-item span  { font-size: 2.2rem; }
.badge-item small { font-size: .75rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .06em; }

/* /* ─── 10. INSTRUCTORS ──────────────────────────────────────────── */
.section-instructors {
	position: relative;
	padding: 5rem 0 4rem;
	background: var(--color-dark);
	overflow: hidden;
}
.section-instructors__overlay {
	position: absolute; inset: 0;
	background: rgba(30,45,60,.75);
}
.section-instructors .container { position: relative; z-index: 2; }

/* ── Slider infini ── */
.instructors-slider {
	position: relative; z-index: 2;
	overflow: hidden;
	margin-top: 2.5rem;
	mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.instructors-track {
	display: flex;
	gap: 1.25rem;
	width: max-content;
	animation: instructors-scroll 40s linear infinite;
}
.instructors-slider:hover .instructors-track { animation-play-state: paused; }

@keyframes instructors-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ── Carte ── */
.instructor-card {
	position: relative;
	width: 240px; height: 320px;
	flex-shrink: 0;
	overflow: hidden;
	cursor: pointer;
}
.instructor-card img,
.instructor-card__placeholder {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
	transition: transform .5s ease;
}
.instructor-card:hover img,
.instructor-card:hover .instructor-card__placeholder { transform: scale(1.06); }

.instructor-card__placeholder {
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 4rem; font-weight: 800;
	font-family: var(--font-heading);
}
.instructor-card__overlay {
	position: absolute; bottom: 0; left: 0; right: 0;
	padding: 1rem 1rem .9rem;
	background: linear-gradient(to top, rgba(6,20,35,.92) 0%, rgba(6,20,35,.6) 70%, transparent 100%);
}
.instructor-card__name {
	color: #fff; font-size: .95rem; font-weight: 700;
	margin: 0 0 .15rem; line-height: 1.3;
}
.instructor-card__role {
	color: var(--color-accent); font-size: .72rem; font-weight: 600;
	margin: 0 0 .55rem; text-transform: uppercase; letter-spacing: .05em;
}
.instructor-card__contact { display: flex; flex-direction: column; gap: .3rem; }
.instructor-card__contact-item {
	display: flex; align-items: center; gap: .4rem;
	font-size: 1rem; color: rgba(255,255,255,.82);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	font-family:Georgia, 'Times New Roman', Times, serif;
}
.instructor-card__contact-item svg { width: .78rem; height: .78rem; flex-shrink: 0; color: var(--color-accent); }

/*─── 11. EVENTS ─────────────────────────────────────────────── */
.section-events { padding: 5rem 0; background: #fff; }

/* Deux colonnes 50/50 */
.events-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

/* ── Colonne gauche : featured ── */
.events-featured__img-link {
	display: block; position: relative; overflow: hidden;
	border-radius: var(--radius); text-decoration: none;
}
.events-featured__img-link img {
	width: 100%; height: 360px; object-fit: cover; display: block;
	transition: transform .5s ease;
}
.events-featured__img-link:hover img { transform: scale(1.06); }
.events-featured__no-img {
	width: 100%; height: 360px;
	background: linear-gradient(135deg, var(--color-primary), #0a9fd4);
}

/* Badge date coin haut gauche */
.events-featured__date-badge {
	position: absolute; top: 1rem; left: 1rem;
	background: var(--color-accent); color: #fff;
	text-align: center; padding: .5rem .8rem;
	border-radius: 6px; min-width: 54px; z-index: 2;
}
.evb-day   { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1; }
.evb-month { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }

/* Titre + meta superposes en bas de l'image */
.events-featured__overlay {
	position: absolute; bottom: 0; left: 0; right: 0;
	padding: 2.5rem 1.4rem 1.2rem;
	background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 100%);
	z-index: 2;
}
.events-featured__title {
	font-size: 1.1rem; font-weight: 700;
	color: #fff; margin: 0 0 .4rem; line-height: 1.4;
}
.events-featured__meta {
	font-size: .8rem; color: rgba(255,255,255,.8);
	margin: 0; display: flex; flex-wrap: wrap; gap: .35rem;
}

/* ── Colonne droite : liste ── */
.events-list {
	display: flex;
	flex-direction: column;
}

.event-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	border-bottom: 1px solid #E4E4E4;
	padding-bottom: 28px;
	padding-top: 28px;
	position: relative;
	margin-top: 0;
}
.event-row:first-child { padding-top: 0; }
.event-row:last-child  { border-bottom: none; padding-bottom: 0; }

/* Petit carré date */
.event-row__date-box {
	flex-shrink: 0;
	width: 54px; height: 60px;
	background: var(--color-primary); color: #fff;
	border-radius: 6px;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	text-align: center;
}
.erdb-day   { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1; }
.erdb-month { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }

/* Contenu de la ligne */
.event-row__content { flex: 1; min-width: 0; }
.event-row__title { font-size: .92rem; font-weight: 700; margin: 0 0 .3rem; line-height: 1.4; position: relative; }
.event-row__title a { color: var(--color-primary); text-decoration: none; }
.event-row__title a:hover { color: var(--color-accent); }
.event-row__meta { font-size: .76rem; color: #888; margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.event-row__sep { color: #ccc; }

/* Preview image au survol du titre */
.event-row__preview {
	display: none;
	position: absolute;
	right: 0; top: 50%; transform: translateY(-50%);
	width: 110px; height: 75px;
	background-size: cover; background-position: center;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0,0,0,.2);
	pointer-events: none;
	z-index: 10;
}
.event-row:hover .event-row__preview { display: block; }

.events-empty { color: #888; font-size: .88rem; padding: 1rem 0; margin: 0; }

@media (max-width: 900px) {
	.events-two-col { grid-template-columns: 1fr; }
	.event-row__preview { display: none !important; }
}
@media (max-width: 560px) {
	.events-featured__img-link img,
	.events-featured__no-img { height: 240px; }
}

/* ─── 12. MOBILE APP ─────────────────────────────────────────── */
/* ─── 14. CANDIDATURE D'ADMISSION ─────────────────────────── */
.section-admission {
	position: relative;
	z-index: 10;
	padding: 0 0 0;
	margin-bottom: -90px; /* chevauchement footer */
	display: flex;
	justify-content: center;
}

.admission-card {
	width: 80%;
	display: grid;
	grid-template-columns: 1fr 1.2fr;	
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(0,0,0,.18);
	background: #fff;
	border-radius: 0px 0px 15px 15px;
}

/* Colonne image */
.admission-card__image { position: relative; min-height: 420px; }
.admission-card__image img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.admission-img-placeholder {
	width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* Colonne contenu */
.admission-card__content {
	padding: 3rem 2.8rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #fff;
}

.admission-card__label {
	display: inline-block;
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--color-accent);
	background: rgba(6,109,149,.08);
	padding: .25rem .75rem;
	border-radius: 20px;
	margin-bottom: 1rem;
	align-self: flex-start;
}

.admission-card__title {
	font-size: clamp(1.4rem, 2vw, 1.9rem);
	font-weight: 800;
	color: var(--color-primary);
	margin: 0 0 .9rem;
	line-height: 1.25;
}

.admission-card__text {
	font-size: .95rem;
	color: #666;
	line-height: 1.75;
	margin-bottom: 1.75rem;
}

.admission-card__btn {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	background: var(--color-primary);
	color: #fff;
	text-decoration: none;
	padding: .8rem 1.6rem;
	border-radius: var(--radius);
	font-size: .92rem;
	font-weight: 700;
	align-self: flex-start;
	transition: background .2s, transform .2s;
	margin-bottom: 2rem;
}
.admission-card__btn svg { width: 1rem; height: 1rem; }
.admission-card__btn:hover { background: var(--color-accent); transform: translateX(3px); }

/* Newsletter */
.admission-card__newsletter {
	border-top: 1px solid #eee;
	padding-top: 1.5rem;
}
.admission-card__nl-title {
	display: flex;
	align-items: center;
	gap: .45rem;
	font-size: .83rem;
	font-weight: 700;
	color: #555;
	margin: 0 0 .9rem;
}
.admission-card__nl-title svg { width: .95rem; height: .95rem; color: var(--color-primary); }

.admission-nl-form {
	display: flex;
	gap: .5rem;
}
.admission-nl-form input[type="email"] {
	flex: 1;
	padding: .6rem 1rem;
	border: 1.5px solid #ddd;
	border-radius: var(--radius);
	font-size: .85rem;
	outline: none;
	transition: border-color .2s;
}
.admission-nl-form input[type="email"]:focus { border-color: var(--color-primary); }
.admission-nl-form button {
	padding: .6rem 1.2rem;
	background: var(--color-primary);
	color: #fff;
	border: none;
	border-radius: var(--radius);
	font-size: .85rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s;
	white-space: nowrap;
}
.admission-nl-form button:hover { background: var(--color-accent); }
.admission-nl-form button:disabled { opacity: .6; cursor: default; }

.admission-nl-feedback { font-size: .8rem; margin: .5rem 0 0; min-height: 1.2em; }
.admission-nl-feedback--ok  { color: #1a7a3e; }
.admission-nl-feedback--err { color: #c0392b; }

.register-form-title { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; color: #fff; }
.register-form-feedback { font-size: .82rem; margin-top: .6rem; min-height: 1.2em; }
.register-form-feedback--ok  { color: #7fffb0; }
.register-form-feedback--err { color: #ffb3b3; }

@media (max-width: 900px) {
	.admission-card { width: 95%; grid-template-columns: 1fr; }
	.admission-card__image { min-height: 220px; }
	.section-admission { margin-bottom: -60px; }
}

/* ─── 13. PARTNERS ───────────────────────────────────────────── */
.section-partners {
	padding: 2.2rem 0;
	background: #fff;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	overflow: hidden;           /* masque ce qui déborde du marquee */
}

/* Piste de défilement */
.partners-marquee {
	display: flex;
	align-items: center;
	gap: 4rem;
	width: max-content;
	animation: partners-scroll 28s linear infinite;
}
.partners-marquee:hover { animation-play-state: paused; }

@keyframes partners-scroll {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); } /* -50% car les items sont dupliqués */
}

.partner-item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	opacity: .5;
	transition: opacity .25s;
	text-decoration: none;
	padding: .4rem 1rem;
	filter: grayscale(1);
}
.partner-item:hover { opacity: 1; filter: grayscale(0); }
.partner-item img { max-height: 44px; width: auto; display: block; }

.partner-name {
	font-size: 1rem;
	font-weight: 800;
	color: var(--color-primary);
	letter-spacing: .04em;
	white-space: nowrap;
}

/* ─── 14. NEWSLETTER ─────────────────────────────────────────── */
.section-newsletter {
	background: var(--color-primary);
	padding: 2rem 0;
}

.newsletter-inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.newsletter-inner p {
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0;
	flex: 0 0 auto;
}

.newsletter-form {
	display: flex;
	gap: .75rem;
	flex: 1 1 auto;
	min-width: 280px;
}

.newsletter-form input {
	flex: 1;
	padding: .75rem 1rem;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: var(--radius);
	background: rgba(255,255,255,.12);
	color: #fff;
	font-size: .9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form input:focus        { outline: none; border-color: var(--color-accent); }

@media (max-width: 680px) {
	.newsletter-inner { flex-direction: column; align-items: stretch; }
	.newsletter-form  { flex-direction: column; }
}

/* ─── LEGACY COMPAT ──────────────────────────────────────────── */
.home-hero   { display: none; }
.home-slider { display: none; }

/* ─── WP CAPTION ─────────────────────────────────────────────── */
.wp-caption-text { text-align: center; }

/* ─── GALLERIES ──────────────────────────────────────────────── */
.gallery           { margin-bottom: 1.5em; display: grid; grid-gap: 1.5em; }
.gallery-item      { display: inline-block; text-align: center; width: 100%; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }
.gallery-caption   { display: block; }

/* ─── JETPACK ────────────────────────────────────────────────── */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer { display: none; }
.infinity-end.neverending .site-footer    { display: block; }

/* ─── ACCESSIBILITY ──────────────────────────────────────────── */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: .875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
#primary[tabindex="-1"]:focus { outline: 0; }

/* ─── ALIGNMENTS ─────────────────────────────────────────────── */
.alignleft   { float: left;  margin-right: 1.5em; margin-bottom: 1.5em; }
.alignright  { float: right; margin-left: 1.5em;  margin-bottom: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; }

/* ══════════════════════════════════════════════════════════════
   SINGLE EVENT
══════════════════════════════════════════════════════════════ */
.event-single-page { padding: 2.5rem 0 5rem; }

/* ── Bannière hero breadcrumb ── */
.ev-hero-banner {
	position: relative;
	min-height: 220px;
	display: flex; align-items: center;
	background-color: var(--color-primary);
	background-image: var(--ev-hero-bg, none);
	background-size: cover;
	background-position: center;
	margin-bottom: 3rem;
}
.ev-hero-banner__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(
		135deg,
		rgba(6, 109, 149, .92) 0%,
		rgba(4, 60, 85, .88) 100%
	);
}
.ev-hero-banner__inner {
	position: relative; z-index: 2;
	padding-top: 2.5rem; padding-bottom: 2.5rem;
}

/* Breadcrumb dans la bannière */
.ev-breadcrumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
	font-size: .78rem; font-weight: 600; letter-spacing: .04em;
	text-transform: uppercase; margin-bottom: 1rem;
}
.ev-breadcrumb a {
	color: rgba(255,255,255,.7); text-decoration: none;
	transition: color .2s;
}
.ev-breadcrumb a:hover { color: #fff; }
.ev-breadcrumb__sep { color: rgba(255,255,255,.35); }
.ev-breadcrumb__current { color: var(--color-accent); }

/* Titre principal */
.ev-hero-banner__title {
	font-size: clamp(1.1rem, 2.5vw, 1.6rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #fff;
	line-height: 1.35;
	margin: 0;
	max-width: 820px;
	transition: color .3s;
}
.ev-hero-banner:hover .ev-hero-banner__title { color: var(--color-accent); }

/* Date + lieu dans la bannière */
.ev-hero-banner__details {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.ev-hero-detail {
	display: flex;
	align-items: center;
	gap: .75rem;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.2);
	border-left: 3px solid var(--color-accent);
	border-radius: 6px;
	padding: .65rem 1.1rem;
	backdrop-filter: blur(4px);
	transition: background .25s, border-color .25s, transform .25s;
}
.ev-hero-detail:hover {
	background: rgba(255,255,255,.22);
	border-color: var(--color-accent);
	transform: translateY(-2px);
}
.ev-hero-detail svg {
	width: 1.3rem; height: 1.3rem;
	color: var(--color-accent);
	flex-shrink: 0;
}
.ev-hero-detail__label {
	display: block;
	font-size: .65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255,255,255,.55);
	margin-bottom: .15rem;
}
.ev-hero-detail__value {
	display: block;
	font-size: .92rem;
	font-weight: 700;
	color: #fff;
}

/* Layout 2 colonnes */
.ev-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 2.5rem;
	align-items: start;
	margin-bottom: 4rem;
}

/* ── Contenu principal ── */
.ev-content__header {
	display: flex; align-items: flex-start; gap: 1.2rem;
	margin-bottom: 1.5rem;
}
.ev-date-badge {
	flex-shrink: 0; width: 60px; height: 68px;
	background: var(--color-primary); color: #fff;
	border-radius: 8px; display: flex; flex-direction: column;
	align-items: center; justify-content: center; text-align: center;
}
.ev-date-badge__day   { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.ev-date-badge__month { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
.ev-content__title { font-size: 1.6rem; font-weight: 800; color: var(--color-primary); margin: 0 0 .5rem; line-height: 1.3; }
.ev-content__meta { display: flex; flex-wrap: wrap; gap: .75rem; }
.ev-meta-item { display: flex; align-items: center; gap: .35rem; font-size: .82rem; color: #777; }
.ev-meta-item svg { width: .95rem; height: .95rem; color: var(--color-accent); flex-shrink: 0; }

/* ── Barre info date / lieu ── */
.ev-info-bar {
	display: flex; flex-wrap: wrap; gap: 1.2rem;
	margin-bottom: 1.8rem;
	padding: 1rem 1.4rem;
	background: #f0f7fa;
	border-left: 4px solid var(--color-primary);
	border-radius: 0 var(--radius) var(--radius) 0;
}
.ev-info-bar__item {
	display: flex; align-items: center; gap: .75rem;
}
.ev-info-bar__icon {
	flex-shrink: 0;
	width: 38px; height: 38px;
	background: var(--color-primary);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: #fff;
}
.ev-info-bar__icon svg { width: 1rem; height: 1rem; }
.ev-info-bar__label {
	display: block; font-size: .72rem; text-transform: uppercase;
	letter-spacing: .07em; color: #888; font-weight: 600;
}
.ev-info-bar__value {
	display: block; font-size: .97rem; font-weight: 700; color: var(--color-primary);
}

.ev-content__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.ev-content__thumb img { width: 100%; max-height: 420px; object-fit: cover; display: block; }

.ev-content__body { font-size: .97rem; line-height: 1.85; color: #444; }
.ev-content__body p { margin-bottom: 1.2rem; }

/* Documents joints */
.ev-attachments { margin-top: 2.5rem; padding: 1.5rem; background: var(--color-light); border-radius: var(--radius); }
.ev-attachments__title {
	display: flex; align-items: center; gap: .5rem;
	font-size: 1rem; font-weight: 700; color: var(--color-primary); margin: 0 0 1rem;
}
.ev-attachments__title svg { width: 1.1rem; height: 1.1rem; }
.ev-attachments__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.ev-attachment-link {
	display: flex; align-items: center; gap: .6rem;
	padding: .65rem 1rem; background: #fff; border-radius: 6px;
	color: var(--color-primary); text-decoration: none; font-size: .88rem; font-weight: 600;
	border: 1px solid #e0e2e6; transition: border-color .2s, box-shadow .2s;
}
.ev-attachment-link:hover { border-color: var(--color-accent); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.ev-attachment-link svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--color-accent); }
.ev-file-ext {
	margin-left: auto; background: var(--color-accent); color: #fff;
	font-size: .65rem; font-weight: 700; padding: .15rem .5rem;
	border-radius: 3px; text-transform: uppercase; letter-spacing: .06em;
}

/* ── Sidebar ── */
.ev-sidebar { display: flex; flex-direction: column; gap: 1.75rem; position: sticky; top: 20px; align-self: start; }

.ev-sidebar__widget {
	background: #fff; border-radius: var(--radius);
	box-shadow: 0 2px 12px rgba(0,0,0,.07); overflow: hidden;
}
.ev-sidebar__widget-title {
	font-size: .88rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: .07em; color: #fff; background: var(--color-primary);
	padding: .8rem 1.2rem; margin: 0;
}

/* Collapsible widget */
button.ev-sidebar__widget-title {
	width: 100%; text-align: left; border: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center;
}
.ev-collapse-icon {
	width: 1rem; height: 1rem; transition: transform .25s ease; flex-shrink: 0;
}
button.ev-sidebar__widget-title[aria-expanded="false"] .ev-collapse-icon {
	transform: rotate(180deg);
}
.ev-sidebar__cat-list.ev-collapsed {
	display: none;
}

/* Articles récents */
.ev-sidebar__post-list { list-style: none; padding: .5rem 0; margin: 0; }
.ev-sidebar__post-list li {
	display: flex; align-items: flex-start; gap: .75rem;
	padding: .6rem 1.2rem; border-bottom: 1px solid #f0f0f0;
}
.ev-sidebar__post-list li:last-child { border-bottom: none; }
.ev-sidebar__post-list img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.ev-sidebar__post-list div { display: flex; flex-direction: column; gap: .2rem; }
.ev-sidebar__post-list a { font-size: .82rem; font-weight: 600; color: var(--color-primary); text-decoration: none; line-height: 1.35; }
.ev-sidebar__post-list a:hover { color: var(--color-accent); }
.ev-sidebar__post-list span { font-size: .72rem; color: #aaa; }

/* Catégories */
.ev-sidebar__cat-list { list-style: none; padding: .5rem 0; margin: 0; }
.ev-sidebar__cat-list li { border-bottom: 1px solid #f0f0f0; }
.ev-sidebar__cat-list li:last-child { border-bottom: none; }
.ev-sidebar__cat-list a {
	display: flex; justify-content: space-between; align-items: center;
	padding: .6rem 1.2rem; font-size: .85rem; color: #444;
	text-decoration: none; transition: color .2s, background .2s;
}
.ev-sidebar__cat-list a:hover { color: var(--color-accent); background: var(--color-light); }
.ev-sidebar__cat-list span {
	background: var(--color-light); color: #888;
	font-size: .72rem; padding: .1rem .5rem; border-radius: 30px;
}

/* Annonces */
.ev-sidebar__annonce-list { list-style: none; padding: .5rem 0; margin: 0; }
.ev-sidebar__annonce-list li { padding: .65rem 1.2rem; border-bottom: 1px solid #f0f0f0; }
.ev-sidebar__annonce-list li:last-child { border-bottom: none; }
.ev-sidebar__annonce-list a {
	display: flex; align-items: flex-start; gap: .4rem;
	font-size: .84rem; font-weight: 600; color: var(--color-primary);
	text-decoration: none; line-height: 1.4;
}
.ev-sidebar__annonce-list a:hover { color: var(--color-accent); }
.ev-sidebar__annonce-list a svg { width: .8rem; height: .8rem; flex-shrink: 0; margin-top: .25rem; }
.ev-sidebar__ann-title {
	display: flex; align-items: flex-start; gap: .4rem;
	font-size: .84rem; font-weight: 600; color: var(--color-primary); line-height: 1.4;
}
.ev-sidebar__ann-title svg { width: .8rem; height: .8rem; flex-shrink: 0; margin-top: .25rem; }
.ev-sidebar__annonce-list span { display: block; font-size: .72rem; color: #aaa; margin-top: .2rem; }
.ev-sidebar__empty { font-size: .84rem; color: #999; padding: 1rem 1.2rem; margin: 0; }

/* ── Single post – meta & navigation ── */
.sp-meta {
	display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
	padding: 1rem 0 1.25rem; border-bottom: 1px solid var(--color-light); margin-bottom: 1.5rem;
}
.sp-meta__date, .sp-meta__author {
	display: flex; align-items: center; gap: .4rem;
	font-size: .82rem; color: #888;
}
.sp-meta__date svg, .sp-meta__author svg { width: .95rem; height: .95rem; color: var(--color-primary); flex-shrink: 0; }

.sp-post-nav {
	display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-light);
}
.sp-post-nav__link {
	display: flex; align-items: center; gap: .5rem; max-width: 48%;
	font-size: .84rem; font-weight: 600; color: var(--color-primary);
	text-decoration: none; line-height: 1.4; transition: color .2s;
}
.sp-post-nav__link:hover { color: var(--color-accent); }
.sp-post-nav__link svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.sp-post-nav__link--next { margin-left: auto; text-align: right; }

/* ── Articles connexes ── */
.ev-related { border-top: 2px solid var(--color-light); padding-top: 3rem; }
.ev-related__title { font-size: 1.3rem; font-weight: 800; color: var(--color-primary); margin: 0 0 1.75rem; }
.ev-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ev-related__card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.ev-related__card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }
.ev-related__img-link { display: block; overflow: hidden; }
.ev-related__img-link img { width: 100%; height: 150px; object-fit: cover; display: block; transition: transform .4s; }
.ev-related__card:hover .ev-related__img-link img { transform: scale(1.05); }
.ev-related__no-img { height: 150px; background: linear-gradient(135deg, var(--color-primary), #0a9fd4); }
.ev-related__body { padding: 1rem 1.1rem; }
.ev-related__date { font-size: .72rem; color: var(--color-accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ev-related__body h3 { font-size: .9rem; font-weight: 700; margin: .3rem 0 .4rem; line-height: 1.4; }
.ev-related__body h3 a { color: var(--color-primary); text-decoration: none; }
.ev-related__body h3 a:hover { color: var(--color-accent); }
.ev-related__body p { font-size: .8rem; color: #777; margin: 0; line-height: 1.55; }

@media (max-width: 1024px) { .ev-layout { grid-template-columns: 1fr 280px; } }
@media (max-width: 768px) {
	.ev-layout { grid-template-columns: 1fr; }
	.ev-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) { .ev-related__grid { grid-template-columns: 1fr; } }

/* ── Hero banner – sous-titre & description ── */
.ev-hero-banner__subtitle {
	font-size: .78rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: .12em; color: var(--color-accent);
	margin: 0 0 .5rem; opacity: .95;
}
.ev-hero-banner__desc {
	font-size: .95rem; color: rgba(255,255,255,.85); margin: .6rem 0 0;
	max-width: 640px; line-height: 1.6;
}

/* ── Archive catégorie ── */
.ca-content { min-width: 0; }

.ca-count { font-size: .85rem; color: #888; margin: 1.5rem 0 1.25rem; }
.ca-count strong { color: var(--color-primary); }

.ca-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
}

.ca-card {
	background: #fff; border-radius: var(--radius);
	box-shadow: var(--shadow); overflow: hidden;
	transition: transform .25s, box-shadow .25s;
	display: flex; flex-direction: column;
}
.ca-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }

.ca-card__img-link { display: block; position: relative; overflow: hidden; flex-shrink: 0; }
.ca-card__img-link img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s; }
.ca-card:hover .ca-card__img-link img { transform: scale(1.05); }
.ca-card__no-img { height: 200px; background: linear-gradient(135deg, var(--color-primary), #0a9fd4); }

.ca-card__cat {
	position: absolute; top: .75rem; left: .75rem;
	background: var(--color-accent); color: #fff;
	font-size: .68rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: .06em; padding: .2rem .6rem; border-radius: 30px;
}

.ca-card__body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.ca-card__date { font-size: .72rem; color: var(--color-accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ca-card__title { font-size: 1rem; font-weight: 700; margin: .4rem 0 .6rem; line-height: 1.4; }
.ca-card__title a { color: var(--color-primary); text-decoration: none; }
.ca-card__title a:hover { color: var(--color-accent); }
.ca-card__excerpt { font-size: .83rem; color: #666; line-height: 1.6; margin: 0 0 1rem; flex: 1; }

.ca-card__more {
	display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start;
	font-size: .8rem; font-weight: 700; color: var(--color-primary);
	text-decoration: none; text-transform: uppercase; letter-spacing: .05em;
	transition: color .2s, gap .2s;
}
.ca-card__more:hover { color: var(--color-accent); gap: .55rem; }
.ca-card__more svg { width: .85rem; height: .85rem; }

/* Catégorie active dans la sidebar */
.ev-sidebar__cat--active > a { color: var(--color-accent); font-weight: 700; }

/* Pagination */
.ca-pagination {
	display: flex; justify-content: center; align-items: center;
	flex-wrap: wrap; gap: .4rem; margin-top: 2.5rem;
}
.ca-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.2rem; height: 2.2rem; padding: 0 .6rem;
	border-radius: 6px; font-size: .85rem; font-weight: 600;
	color: var(--color-primary); background: #fff;
	border: 1px solid var(--color-light); text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
}
.ca-pagination .page-numbers:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.ca-pagination .page-numbers.current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.ca-pagination .page-numbers.dots { border: none; background: none; pointer-events: none; }

/* État vide */
.ca-empty {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 1rem; padding: 4rem 2rem; text-align: center;
	color: #aaa; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.ca-empty svg { width: 3rem; height: 3rem; opacity: .4; }
.ca-empty p { font-size: .95rem; margin: 0; }

/* Responsive */
@media (max-width: 1024px) { .ca-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .ca-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   FOOTER MODERNE
══════════════════════════════════════════════════════════════ */
.site-footer-main {
	background: #0d1b2a;
	color: rgba(255,255,255,.75);
	font-size: .88rem;
	position: relative;
	padding-top: 80px;
}

/* Bande supérieure */
.footer-top { padding: 4rem 0 3rem; }
.footer-top__inner {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
	gap: 2.5rem;
}

.footer-col__title {
	font-size: .8rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: .1em; color: #fff; margin: 0 0 1.2rem;
	padding-bottom: .6rem; border-bottom: 2px solid var(--color-accent);
	display: inline-block;
}

/* Logo */
.footer-logo img  { max-height: 52px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-text { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .75rem; }
.footer-tagline   { font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,.6); margin: .75rem 0 1.2rem; }

/* Social */
.footer-social { display: flex; gap: .6rem; }
.footer-social__link {
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
	display: flex; align-items: center; justify-content: center;
	transition: background .2s, color .2s; text-decoration: none;
}
.footer-social__link svg { width: 1rem; height: 1rem; }
.footer-social__link:hover { background: var(--color-accent); color: #fff; }

/* Liens */
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
	color: rgba(255,255,255,.65); text-decoration: none;
	transition: color .2s; display: flex; align-items: center; gap: .4rem;
}
.footer-links a::before { content: '›'; color: var(--color-accent); font-weight: 700; }
.footer-links a:hover { color: #fff; }

/* Contact */
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .65rem; line-height: 1.5; }
.footer-contact-list svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--color-accent); margin-top: .15rem; }

/* Barre copyright */
.footer-bottom {
	background: rgba(0,0,0,.35);
	padding: 1rem 0;
}
.footer-bottom__inner {
	display: flex; justify-content: space-between; align-items: center;
	flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.45);
}
.footer-bottom__links { display: flex; align-items: center; gap: .5rem; }
.footer-bottom__links a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-bottom__links a:hover { color: var(--color-accent); }
.footer-bottom__links span { color: rgba(255,255,255,.2); }

@media (max-width: 1024px) { .footer-top__inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) {
	.footer-top__inner { grid-template-columns: 1fr; }
	.footer-bottom__inner { flex-direction: column; text-align: center; }
}

/* =====================================================
   404 – PAGE NOT FOUND
   ===================================================== */
.page-404 { padding-bottom: 5rem; }

.not-found-card {
	max-width: 680px;
	margin: 4rem auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(0,0,0,.08);
	padding: 3rem 2.5rem;
	text-align: center;
}

.not-found-icon svg {
	width: 72px; height: 72px;
	stroke: var(--color-accent);
	margin-bottom: 1.5rem;
}

.not-found-heading {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: .75rem;
}

.not-found-text {
	color: #5a6a7e;
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 2rem;
}

/* Search form inside 404 */
.not-found-search { margin-bottom: 2rem; }
.not-found-search .search-form {
	display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
}
.not-found-search .search-field {
	flex: 1 1 260px;
	padding: .65rem 1rem;
	border: 1.5px solid #dce3ed;
	border-radius: 8px;
	font-size: .95rem;
	outline: none;
	transition: border-color .2s;
}
.not-found-search .search-field:focus { border-color: var(--color-accent); }
.not-found-search .search-submit {
	padding: .65rem 1.4rem;
	background: var(--color-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: .95rem;
	cursor: pointer;
	transition: background .2s;
}
.not-found-search .search-submit:hover { background: var(--color-primary); }

/* Buttons */
.not-found-links {
	display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

.not-found-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .7rem 1.5rem;
	border-radius: 8px;
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, color .2s, transform .15s;
}
.not-found-btn svg { width: 18px; height: 18px; }

.not-found-btn--primary {
	background: var(--color-accent);
	color: #fff;
}
.not-found-btn--primary:hover {
	background: var(--color-primary);
	transform: translateY(-2px);
}

.not-found-btn--secondary {
	background: #f0f4fa;
	color: var(--color-primary);
}
.not-found-btn--secondary:hover {
	background: var(--color-primary);
	color: #fff;
	transform: translateY(-2px);
}


/* =====================================================
   PAGE PRESENTATION  (.coop-page)
   ===================================================== */

/* Breadcrumb */
.article-breadcrumb { background: var(--color-light); border-bottom: 1px solid #e0e8f0; padding: .7rem 0; font-size: .85rem; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; color: #7a8fa6; }
.breadcrumb-inner a { color: var(--color-primary); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--color-accent); }
.breadcrumb-inner .sep { color: #b0bec8; font-size: .75rem; }
.breadcrumb-inner .current { color: var(--color-accent); font-weight: 600; }

/* Hero banner */
.coop-banner { background: linear-gradient(135deg, #0a1e3d 0%, #066d95 100%); color: #fff; padding: 4.5rem 1.5rem 0; text-align: center; position: relative; overflow: hidden; }
.coop-banner-inner { position: relative; max-width: 800px; margin: 0 auto; }
.coop-banner-supra { font-size: .9rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem; }
.coop-banner h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: 0 0 .75rem; }
.coop-banner-sub { font-size: 1rem; color: rgba(255,255,255,.65); margin-bottom: 2.5rem; }
.coop-banner-bar { height: 5px; background: linear-gradient(90deg, var(--color-accent) 0%, #ffcb6b 100%); border-radius: 3px 3px 0 0; }

/* Stats bar */
.coop-stats-bar { background: var(--color-dark); padding: 1.6rem 1.5rem; }
.coop-stats-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
font-family: Georgia, 'Times New Roman', Times, serif; }
.coop-stat { display: flex; flex-direction: column; align-items: center; padding: .5rem 2.5rem; text-align: center; }
.coop-stat-num { font-size: 2rem; font-weight: 800; color: var(--color-accent); line-height: 1; }
.coop-stat-label { font-size: .78rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; margin-top: .3rem; line-height: 1.35; }
.coop-stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* Wrapper & sections */
.coop-wrapper { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 5rem; display: flex; flex-direction: column; gap: 2rem; }
.coop-section { background: #fff; border-radius: 14px; box-shadow: 0 2px 20px rgba(0,0,0,.06); overflow: hidden; border: 1px solid #e8eef5; }
.coop-section-header { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 2rem; background: linear-gradient(90deg, #f5f9fc 0%, #fff 100%); border-bottom: 1px solid #e8eef5; }
.coop-section-num { width: 42px; height: 42px; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: 1.15rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.coop-section-header h2 { font-size: 1.2rem; font-weight: 700; color: var(--color-primary); margin: 0; }
.coop-section-body { padding: 1.8rem 2rem; }
.coop-section-body h3 { font-size: 1rem; font-weight: 700; color: var(--color-primary); margin: 1.5rem 0 .6rem; padding-left: .5rem; border-left: 3px solid var(--color-accent); }
.coop-section-body h3:first-child { margin-top: 0; }
.coop-section-body p { color: var(--color-text); line-height: 1.8; margin-bottom: .9rem; }

/* Table */
.coop-table-wrap { overflow-x: auto; margin: 1rem 0; border-radius: 8px; border: 1px solid #dce8f0; }
.coop-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.coop-table thead tr { background: var(--color-primary); color: #fff; }
.coop-table th { padding: .75rem 1rem; text-align: left; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.coop-table td { padding: .7rem 1rem; border-bottom: 1px solid #eaf0f6; color: var(--color-text); vertical-align: top; }
.coop-table td:first-child { white-space: nowrap; color: var(--color-primary); font-weight: 600; width: 220px; background: #f5f9fc; }
.coop-table tr:last-child td { border-bottom: none; }
.coop-table tbody tr:hover td { background: #f0f8ff; }
.coop-table tbody tr:hover td:first-child { background: #e5f3fb; }

/* List */
.coop-list { padding-left: 1.2rem; margin: .5rem 0 1rem; }
.coop-list li { color: var(--color-text); line-height: 1.75; margin-bottom: .4rem; }
.coop-list li::marker { color: var(--color-accent); }

/* Highlight box */
.coop-highlight { background: linear-gradient(135deg, #e8f4fb 0%, #f0f9e8 100%); border-left: 4px solid var(--color-accent); border-radius: 0 8px 8px 0; padding: 1rem 1.2rem; margin: 1rem 0; color: var(--color-dark); font-size: .9rem; line-height: 1.7; }

/* Voir plus toggle */
.coop-voir-plus { border-top: 1px solid #e8eef5; }
.coop-voir-plus-btn { width: 100%; display: flex; align-items: center; gap: .6rem; padding: 1rem 2rem; background: #f8fbfd; border: none; cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--color-primary); text-align: left; transition: background .2s, color .2s; }
.coop-voir-plus-btn:hover { background: #e8f3fb; color: var(--color-accent); }
.coop-voir-plus-btn .fa-chevron-down { transition: transform .3s ease; color: var(--color-accent); font-size: .8rem; }
.coop-voir-plus-btn[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.coop-voir-plus-panel { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; padding: 0 2rem; }
.coop-voir-plus-panel.is-open { max-height: 2000px; padding: 1.8rem 2rem; border-top: 1px dashed #d4e5ef; }

/* Contact block */
.coop-contact-block { background: var(--color-light); border-radius: 10px; padding: 1.5rem; margin-top: 1.5rem; }
.coop-contact-block > h3 { font-size: 1rem !important; font-weight: 700 !important; color: var(--color-primary) !important; margin: 0 0 1.2rem !important; border-left: none !important; padding-left: 0 !important; }
.coop-contact-list { display: flex; flex-direction: column; gap: .85rem; }
.coop-contact-item { display: flex; align-items: flex-start; gap: .9rem; }
.coop-contact-item > .fas { width: 20px; text-align: center; color: var(--color-accent); flex-shrink: 0; margin-top: .25rem; }
.coop-contact-item > div { display: flex; flex-direction: column; gap: .1rem; }
.coop-contact-item strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-primary); }
.coop-contact-item span, .coop-contact-item a { font-size: .9rem; color: var(--color-text); text-decoration: none; }
.coop-contact-item a:hover { color: var(--color-accent); }

/* Responsive */
@media (max-width: 768px) {
	.coop-stat { padding: .5rem 1.5rem; }
	.coop-stat-sep { display: none; }
	.coop-section-body, .coop-voir-plus-panel.is-open, .coop-section-header { padding-left: 1.2rem; padding-right: 1.2rem; }
	.coop-voir-plus-btn { padding-left: 1.2rem; }
	.coop-table td:first-child { width: auto; white-space: normal; }
	.coop-wrapper { padding: 1.5rem 1rem 3rem; }
}
@media (max-width: 480px) {
	.coop-banner { padding: 3rem 1rem 0; }
	.coop-stat-num { font-size: 1.5rem; }
}


/* -- Section badge (ex: KA171 dans ERASMUS+) -- */
.coop-section-header > div { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.coop-section-badge {
	display: inline-block;
	padding: .2rem .65rem;
	background: var(--color-accent);
	color: #fff;
	border-radius: 20px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	vertical-align: middle;
}

/* -- Partners grid (coop-partners-grid / coop-partner-tag) -- */
.coop-partners-grid {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
	margin: 1rem 0 1.5rem;
}
.coop-partner-tag {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .45rem .9rem;
	border: 1.5px solid #dce8f0;
	border-radius: 8px;
	background: #f5f9fc;
	color: var(--color-primary);
	font-size: .85rem;
	font-weight: 500;
	transition: border-color .2s, background .2s, transform .15s;
}
.coop-partner-tag:hover {
	border-color: var(--color-accent);
	background: #fff8ee;
	transform: translateY(-2px);
}
.coop-partner-tag .fa-university { color: var(--color-accent); font-size: .8rem; }


/* =====================================================
   PAGE MOT DU DIRECTEUR  (.institutional-page)
   ===================================================== */

/* ── Bannière commune aux pages institutionnelles ── */
.page-banner {
	position: relative;
	min-height: 220px;
	background: linear-gradient(135deg, rgba(6,109,149,.95) 0%, rgba(4,60,85,.92) 100%), #066d95;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.page-banner--has-img {
	background: linear-gradient(135deg, rgba(6,109,149,.88) 0%, rgba(4,60,85,.85) 100%),
	            var(--page-hero-bg) center/cover no-repeat;
}
.page-banner__inner {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
}
.page-banner__breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .35rem;
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: rgba(255,255,255,.65);
	margin-bottom: .9rem;
}
.page-banner__breadcrumb a {
	color: rgba(255,255,255,.75);
	text-decoration: none;
	transition: color .2s;
}
.page-banner__breadcrumb a:hover { color: #fff; }
.page-banner__sep { color: rgba(255,255,255,.4); }
.page-banner__title {
	margin: 0;
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .04em;
	line-height: 1.2;
}
.page-banner__title:hover { color: var(--color-accent); transition: color .2s; }
.page-banner__sub {
	margin: .6rem 0 0;
	font-size: .95rem;
	color: rgba(255,255,255,.7);
	font-style: italic;
}

/* Bottom accent bar */
.page-banner::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--color-accent) 0%, #ffcb6b 100%);
}

.institutional-page { padding-bottom: 5rem; }

/* -- Layout 2 colonnes (sidebar + contenu) -- */
.article-layout {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem;
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 2.5rem;
	align-items: start;
}

/* ── Sidebar ── */
.article-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	position: sticky;
	top: 90px;
	align-self: start;
}

.sidebar-widget {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 20px rgba(0,0,0,.06);
	border: 1px solid #e8eef5;
	overflow: hidden;
	transition: box-shadow .2s;
}
.sidebar-widget:hover {
	box-shadow: 0 6px 28px rgba(6,109,149,.12);
}

.widget-title {
	margin: 0;
	padding: 1rem 1.2rem;
	font-size: .88rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #fff;
	background: var(--color-primary);
	display: flex;
	align-items: center;
	gap: .5rem;
}
.widget-title a { color: #fff; text-decoration: none; }
.widget-title a:hover { color: var(--color-accent); }
.widget-title .fas { color: var(--color-accent); font-size: .9rem; }

/* Navigation contextuelle */
.page-nav-list {
	list-style: none;
	margin: 0;
	padding: .4rem 0;
}
.page-nav-list li a {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem 1.2rem;
	color: var(--color-text);
	text-decoration: none;
	font-size: .9rem;
	transition: background .18s, color .18s;
	border-left: 3px solid transparent;
}
.page-nav-list li a:hover {
	background: #f0f8ff;
	color: var(--color-primary);
	border-left-color: var(--color-accent);
}
.page-nav-list li.active a {
	background: #e8f3fb;
	color: var(--color-primary);
	font-weight: 700;
	border-left-color: var(--color-accent);
}
.page-nav-arrow { font-size: .7rem; color: var(--color-accent); flex-shrink: 0; }

/* Widget directeur */
.widget-directeur { text-align: center; }

.directeur-photo-frame {
	position: relative;
	width: 150px;
	height: 150px;
	margin: 1.8rem auto 1rem;
}
.directeur-photo-frame img {
	width: 150px;
	height: 150px;
	object-fit: cover;
	object-position: top center;
	border-radius: 50%;
	display: block;
	position: relative;
	z-index: 1;
}
.directeur-photo-ring {
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 3px solid var(--color-accent);
	opacity: .6;
}
.directeur-photo-placeholder {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: var(--color-light);
	display: flex;
	align-items: center;
	justify-content: center;
}
.directeur-photo-placeholder .fa-user-tie {
	font-size: 3rem;
	color: var(--color-primary);
	opacity: .4;
}

.directeur-identity { padding: 0 1.2rem 1rem; }
.directeur-nom {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 .25rem;
}
.directeur-titre {
	font-size: .82rem;
	color: var(--color-accent);
	margin: 0 0 .2rem;
	line-height: 1.4;
}
.directeur-grade {
	font-size: .8rem;
	color: #7a8fa6;
	margin: 0;
	font-style: italic;
}

.directeur-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	padding: .6rem 1.2rem;
	background: linear-gradient(90deg, var(--color-primary) 0%, #066d95 100%);
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.directeur-badge .fas { color: var(--color-accent); }

/* ── Widget Annonce ── */
.widget-annonce { overflow: hidden; }

/* Cas image */
.annonce-link {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration: none;
}
.annonce-link img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}
.annonce-link:hover img { transform: scale(1.04); }
.annonce-titre {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: .75rem 1rem;
	background: linear-gradient(to top, rgba(4,60,85,.9) 0%, transparent 100%);
	color: #fff;
	font-size: .85rem;
	font-weight: 600;
	line-height: 1.35;
}

/* Cas fallback (pas d'image ACF) */
.annonce-default {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.5rem 1.2rem 1.4rem;
	gap: .75rem;
}
.annonce-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--color-primary), #0a8ab8);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.annonce-icon .fas {
	font-size: 1.4rem;
	color: #fff;
}
.annonce-content { display: flex; flex-direction: column; gap: .4rem; }
.annonce-content strong {
	font-size: .95rem;
	color: var(--color-primary);
	font-weight: 700;
}
.annonce-content p {
	margin: 0;
	font-size: .82rem;
	color: #7a8fa6;
	line-height: 1.5;
}
.annonce-content .btn--accent {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-top: .3rem;
	padding: .45rem 1rem;
	border-radius: 6px;
	background: var(--color-accent);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s, transform .2s;
}
.annonce-content .btn--accent:hover {
	background: #e07b1a;
	transform: translateY(-1px);
}

/* ── Contenu principal ── */
.page-main {
	min-width: 0;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 20px rgba(0,0,0,.06);
	border: 1px solid #e8eef5;
	overflow: hidden;
}

/* Padding interne du contenu (page-main body) */
.page-main > section,
.page-main > div.page-content,
.page-main > .entry-content {
	padding: 2rem 2.5rem;
}
.page-main > section + section {
	padding-top: 0;
}

/* ── Section header (pages intérieures) ── */
.page-main .section-header {
	margin-bottom: 1.4rem;
}
.page-main .section-header .section-label {
	display: inline-block;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--color-accent);
	margin-bottom: .35rem;
}
.page-main .section-header .section-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--color-primary);
}
.page-main .section-header + hr,
.page-main .section-header::after {
	display: block;
	content: '';
	width: 40px;
	height: 3px;
	background: var(--color-accent);
	border-radius: 2px;
	margin-top: .6rem;
}

/* ── Grille des indicateurs (stats-bar dans page intérieure) ── */
.stats-bar {
	background: linear-gradient(135deg, var(--color-primary) 0%, #0a8ab8 100%);
	border-radius: 14px;
	padding: .5rem 1rem;
	margin-bottom: 2rem;
}
.stats-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0;
}
.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1.4rem 1rem;
	border-right: 1px solid rgba(255,255,255,.15);
	transition: background .2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.07); border-radius: 10px; }
.stat-number {
	display: flex;
	align-items: baseline;
	gap: .1rem;
	line-height: 1;
	margin-bottom: .35rem;
}
.stat-number .counter {
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
}
.stat-plus {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-accent);
}
.stat-label {
	font-size: .75rem;
	color: rgba(255,255,255,.75);
	text-transform: uppercase;
	letter-spacing: .07em;
	line-height: 1.3;
}

/* ── Grille de valeurs / points forts ── */
.values-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.2rem;
	margin-bottom: 1rem;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-item {
	background: #f7fafc;
	border: 1px solid #e4edf5;
	border-left: 4px solid var(--color-accent);
	border-radius: 0 10px 10px 0;
	padding: 1.1rem 1.2rem;
	transition: box-shadow .2s, transform .2s;
}
.value-item:hover {
	box-shadow: 0 6px 20px rgba(6,109,149,.1);
	transform: translateY(-2px);
}
.value-title {
	margin-bottom: .4rem;
}
.value-title h2,
.value-title h3 {
	font-size: .95rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0;
}
.value-text {
	font-size: .84rem;
	color: #5a7080;
	line-height: 1.55;
	margin: 0;
}

/* ── Timeline dates clés ── */
.chiffres-timeline {
	border-left: 3px solid var(--color-primary);
	padding-left: 1.75rem;
	margin-left: .5rem;
}
.chiffres-timeline__item {
	position: relative;
	margin-bottom: 1.5rem;
}
.chiffres-timeline__item::before {
	content: '';
	position: absolute;
	left: -2.25rem;
	top: .25rem;
	width: .9rem;
	height: .9rem;
	background: var(--color-accent);
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px var(--color-primary);
}
.chiffres-timeline__year {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	font-size: 1rem;
	color: var(--color-accent);
	margin-bottom: .2rem;
}
.chiffres-timeline__event {
	font-size: 1.1rem;
	color: var(--color-text);
	line-height: 1.6;
}

.page-hero {
	padding: 2.2rem 2.5rem 1.5rem;
	background: linear-gradient(135deg, #0a1e3d 0%, #066d95 100%);
	position: relative;
}
.page-hero::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--color-accent) 0%, #ffcb6b 100%);
}
.page-hero-title {
	margin: 0;
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 800;
	color: #fff;
}

/* Citation d ouverture */
.directeur-opening-quote {
	padding: 2rem 2.5rem 0;
}
.directeur-opening-quote .fa-quote-left {
	font-size: 2.5rem;
	color: var(--color-accent);
	opacity: .3;
}

/* Corps du message */
.directeur-message {
	padding: .5rem 2.5rem 2rem;
	color: var(--color-text);
	line-height: 1.9;
	font-size: 1rem;
}
.directeur-message p { margin-bottom: 1.1rem; }
.directeur-message p:last-child { margin-bottom: 0; }
.directeur-message blockquote {
	border-left: 4px solid var(--color-accent);
	padding: .75rem 1.2rem;
	margin: 1.5rem 0;
	background: #f5f9fc;
	color: var(--color-primary);
	font-style: italic;
	border-radius: 0 8px 8px 0;
}

/* Signature */
.directeur-signature {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.5rem 2.5rem;
	border-top: 1px solid #e8eef5;
	background: #f8fbfd;
}
.signature-body {}
.signature-nom {
	font-weight: 700;
	color: var(--color-primary);
	font-size: 1rem;
	margin: 0 0 .2rem;
}
.signature-titre {
	color: var(--color-accent);
	font-size: .88rem;
	margin: 0 0 .15rem;
}
.signature-grade {
	color: #7a8fa6;
	font-size: .82rem;
	font-style: italic;
	margin: 0;
}
.signature-logo img { max-height: 50px; width: auto; opacity: .7; }

/* ── Responsive ── */
@media (max-width: 960px) {
	.article-layout { grid-template-columns: 260px 1fr; gap: 1.5rem; }
}
@media (max-width: 768px) {
	.article-layout {
		grid-template-columns: 1fr;
		padding: 1.5rem 1rem;
	}
	/* Sidebar : désactiver sticky + scroll interne sur mobile */
	.article-sidebar {
		position: static;
		top: auto;
		max-height: none;
		overflow-y: visible;
		flex-direction: row;
		flex-wrap: wrap;
		order: 2; /* passe après le contenu */
	}
	.sidebar-widget { flex: 1 1 240px; }
	.page-main { order: 1; }
	.directeur-photo-frame { width: 110px; height: 110px; }
	.directeur-photo-frame img { width: 110px; height: 110px; }
	.page-hero, .directeur-message, .directeur-signature { padding-left: 1.5rem; padding-right: 1.5rem; }
	.directeur-opening-quote { padding-left: 1.5rem; }
	.directeur-signature { flex-direction: column; align-items: flex-start; }
}


/* ── Banniere institutionnelle (page Mot du Directeur) -- */
.inst-hero-banner {
	position: relative;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background:
		var(--inst-hero-bg, none)
		center center / cover no-repeat,
		linear-gradient(135deg, #0a1e3d 0%, #066d95 100%);
	overflow: hidden;
}
.inst-hero-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(10,30,61,.82) 0%, rgba(6,109,149,.65) 100%);
}
.inst-hero-banner__inner {
	position: relative;
	z-index: 1;
	padding: 3rem 1.5rem 2.5rem;
}
.inst-hero-banner__supra {
	font-size: .85rem;
	color: rgba(255,255,255,.6);
	text-transform: uppercase;
	letter-spacing: .12em;
	margin-bottom: .6rem;
}
.inst-hero-banner__supra .fa-university { color: var(--color-accent); margin-right: .4rem; }
.inst-hero-banner__title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 800;
	color: #fff;
	margin: 0 0 .6rem;
}
.inst-hero-banner__sub {
	font-size: .95rem;
	color: rgba(255,255,255,.65);
	margin: 0 0 .5rem;
}
.inst-hero-banner__bar {
	position: relative;
	z-index: 1;
	height: 5px;
	background: linear-gradient(90deg, var(--color-accent) 0%, #ffcb6b 100%);
}

/* ── Sidebar sticky ── */
.article-sidebar {
	position: sticky;
	top: 100px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--color-accent) #f0f4fa;
}
.article-sidebar::-webkit-scrollbar { width: 4px; }
.article-sidebar::-webkit-scrollbar-track { background: #f0f4fa; border-radius: 4px; }
.article-sidebar::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 4px; }


/* =====================================================
   PAGE FORMATION INGENIEUR
   ===================================================== */

.formation-page { background: #f5f8fb; }
.formation-wrapper { max-width: 960px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.formation-intro-wp { margin-bottom: 2rem; font-size: 1rem; line-height: 1.8; color: var(--color-text); }

/* Bloc admission */
.formation-admission-block { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; background: #fff; border-radius: 16px; padding: 2rem 2.2rem; box-shadow: 0 4px 24px rgba(6,109,149,.08); border: 1px solid #e4edf5; margin-bottom: 2.5rem; }
.adm-intro h2 { font-size: 1.3rem; font-weight: 800; color: var(--color-primary); margin: 0 0 .9rem; }
.adm-intro p { font-size: .93rem; line-height: 1.75; color: #4a6070; margin-bottom: .75rem; }
.adm-voies h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: var(--color-primary); margin: 0 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--color-accent); }
.voie-badge { display: flex; align-items: center; gap: .75rem; padding: .65rem .9rem; background: #f0f7fc; border-radius: 10px; margin-bottom: .6rem; font-size: .88rem; font-weight: 600; color: var(--color-primary); border-left: 3px solid var(--color-accent); }
.badge-num { width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: .85rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Accordeon */
.formation-accordion { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2.5rem; }
.acc-item { background: #fff; border-radius: 12px; border: 1px solid #e4edf5; box-shadow: 0 2px 12px rgba(0,0,0,.05); overflow: hidden; transition: box-shadow .2s; }
.acc-item.open { box-shadow: 0 6px 28px rgba(6,109,149,.12); border-color: rgba(6,109,149,.25); }
.acc-trigger { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: none; border: none; cursor: pointer; text-align: left; transition: background .18s; }
.acc-trigger:hover { background: #f5f9fc; }
.acc-item.open .acc-trigger { background: linear-gradient(90deg,#f0f7fc 0%,#fff 100%); }
.acc-num { width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: .85rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.acc-item.open .acc-num { background: var(--color-accent); }
.acc-label { flex: 1; font-size: 1rem; font-weight: 700; color: var(--color-primary); }
.acc-chevron { width: 20px; height: 20px; stroke: var(--color-primary); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; flex-shrink: 0; }
.acc-item.open .acc-chevron { transform: rotate(180deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-panel-inner { padding: 1.4rem 2rem 1.8rem; border-top: 1px solid #e8eef5; }

/* Typo doc */
.doc-h2 { font-size: 1rem; font-weight: 700; color: var(--color-primary); margin: 1.6rem 0 .7rem; padding-left: .8rem; border-left: 4px solid var(--color-accent); }
.doc-p { font-size: .92rem; line-height: 1.8; color: #4a6070; margin-bottom: .9rem; }
.doc-ul { padding-left: 1.4rem; margin-bottom: .9rem; }
.doc-ul li { font-size: .92rem; color: #4a6070; line-height: 1.7; margin-bottom: .3rem; }
.doc-note { font-size: .82rem; font-style: italic; color: #8a9fb0; margin-top: 1rem; }
.objectifs-block { background: #f0f7fc; border-left: 4px solid var(--color-accent); border-radius: 0 10px 10px 0; padding: 1rem 1.2rem; margin: 1rem 0; font-size: .92rem; color: var(--color-primary); line-height: 1.7; }

/* Table */
.doc-table-wrap { overflow-x: auto; margin: .5rem 0 1.2rem; border-radius: 10px; border: 1px solid #d8e6ef; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.doc-table thead tr { background: linear-gradient(90deg,var(--color-primary) 0%,#0a8ab8 100%); }
.doc-table thead th { padding: .7rem 1rem; color: #fff; font-weight: 700; text-align: left; }
.doc-table tbody tr:nth-child(even) { background: #f5f9fc; }
.doc-table tbody td { padding: .65rem 1rem; border-bottom: 1px solid #e4edf5; color: #4a6070; }
.doc-table tbody tr:last-child td { border-bottom: none; }
.t-label { font-weight: 700; color: var(--color-primary) !important; }
.t-center { text-align: center; font-weight: 700; color: var(--color-accent) !important; }

/* Cycles */
.cycle-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin: 1.2rem 0; }
.cycle-block { border-radius: 12px; padding: 1.4rem 1.4rem 1.2rem; }
.cycle-block.prep { background: linear-gradient(135deg,#e8f4fb 0%,#f0f9ff 100%); border: 1px solid #b8d8ea; }
.cycle-block.ing { background: linear-gradient(135deg,#fff3e8 0%,#fff8f2 100%); border: 1px solid #f0c89a; }
.cy-badge { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: .2rem .7rem; border-radius: 20px; margin-bottom: .6rem; }
.cycle-block.prep .cy-badge { background: var(--color-primary); color: #fff; }
.cycle-block.ing .cy-badge { background: var(--color-accent); color: #fff; }
.cycle-block h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .25rem; color: var(--color-primary); }
.cy-duration { font-size: .8rem; color: #7a8fa6; font-style: italic; margin-bottom: .6rem; }
.cycle-block p { font-size: .88rem; color: #4a6070; line-height: 1.65; margin: 0; }
.cycle-arrow { color: var(--color-accent); font-size: 1.4rem; text-align: center; flex-shrink: 0; }

/* Phases */
.phases-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1rem 0; }
.phase-card { border-radius: 12px; overflow: hidden; border: 1px solid #e4edf5; }
.phase-card.phase1 .ph-header { background: linear-gradient(90deg,var(--color-primary),#0a8ab8); }
.phase-card.phase2 .ph-header { background: linear-gradient(90deg,#b45309,var(--color-accent)); }
.ph-header { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.2rem; color: #fff; font-size: .92rem; font-weight: 700; }
.ph-header .fas { font-size: 1.2rem; flex-shrink: 0; }
.ph-sub { display: block; font-size: .75rem; font-weight: 400; opacity: .8; margin-top: .15rem; }
.ph-body { padding: 1rem 1.2rem; background: #fafcff; }
.ph-body ul { padding-left: 1.2rem; margin: 0; }
.ph-body ul li { font-size: .87rem; color: #4a6070; line-height: 1.65; margin-bottom: .3rem; }

/* Filieres */
.filieres-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 1rem; margin: 1.2rem 0; }
.filiere-card { border-radius: 12px; overflow: hidden; border: 1px solid #e4edf5; transition: transform .2s, box-shadow .2s; }
.filiere-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(6,109,149,.15); }
.fc-top { height: 6px; }
.fc-gc .fc-top { background: #2e7d32; }
.fc-gm .fc-top { background: var(--color-primary); }
.fc-ge .fc-top { background: #7b1fa2; }
.fc-gi .fc-top { background: var(--color-accent); }
.fc-info .fc-top { background: #0277bd; }
.fc-body { padding: .9rem 1rem; }
.fc-num { font-size: .7rem; color: #9aabba; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .25rem; }
.fc-dept { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.fc-gc .fc-dept { color: #2e7d32; }
.fc-gm .fc-dept { color: var(--color-primary); }
.fc-ge .fc-dept { color: #7b1fa2; }
.fc-gi .fc-dept { color: var(--color-accent); }
.fc-info .fc-dept { color: #0277bd; }
.fc-body h4 { font-size: .88rem; font-weight: 700; color: var(--color-text); margin: 0; line-height: 1.4; }

/* Stages */
.stages-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 1.2rem 0; }
.stage-card { background: #f0f7fc; border: 1px solid #b8d8ea; border-radius: 12px; padding: 1.2rem 1rem; text-align: center; transition: transform .2s, box-shadow .2s; }
.stage-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(6,109,149,.12); }
.st-num { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto .7rem; }
.stage-card h4 { font-size: .85rem; font-weight: 700; color: var(--color-primary); margin: 0; line-height: 1.4; }

/* Tags emploi */
.emploi-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.emploi-tag { display: inline-block; padding: .4rem .9rem; border-radius: 20px; background: #e8f4fb; color: var(--color-primary); font-size: .82rem; font-weight: 600; border: 1px solid rgba(6,109,149,.2); transition: background .2s, color .2s; }
.emploi-tag:hover { background: var(--color-primary); color: #fff; }

/* Conclusion */
.formation-conclusion { background: linear-gradient(135deg,var(--color-primary) 0%,#043c55 100%); border-radius: 16px; padding: 2.5rem 2.5rem 2rem; color: #fff; margin-top: 1.5rem; }
.formation-conclusion-quote { font-size: 2.5rem; color: var(--color-accent); opacity: .4; line-height: 1; margin-bottom: .5rem; }
.formation-conclusion p { font-size: 1rem; line-height: 1.85; color: rgba(255,255,255,.9); margin: 0 0 1.2rem; font-style: italic; }
.formation-conclusion-author { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-accent); }

/* Responsive formation */
@media (max-width: 768px) {
	.formation-admission-block { grid-template-columns: 1fr; }
	.cycle-wrap { grid-template-columns: 1fr; }
	.phases-wrap { grid-template-columns: 1fr; }
	.stages-grid { grid-template-columns: repeat(2,1fr); }
	.filieres-grid { grid-template-columns: repeat(2,1fr); }
	.acc-panel-inner { padding: 1.2rem 1.2rem 1.4rem; }
}
@media (max-width: 480px) {
	.stages-grid { grid-template-columns: 1fr; }
	.filieres-grid { grid-template-columns: 1fr; }
}


/* =====================================================
   PAGE PAR DEFAUT (page.php)
   ===================================================== */

.default-page-content {
	padding: 2rem 2.5rem 2.5rem;
	font-size: .97rem;
	line-height: 1.85;
	color: var(--color-text);
}

/* Titres */
.default-page-content h1,
.default-page-content h2,
.default-page-content h3,
.default-page-content h4 {
	color: var(--color-primary);
	font-weight: 700;
	margin-top: 1.8rem;
	margin-bottom: .7rem;
	line-height: 1.3;
}
.default-page-content h2 {
	font-size: 1.35rem;
	padding-left: .85rem;
	border-left: 4px solid var(--color-accent);
}
.default-page-content h3 { font-size: 1.1rem; }
.default-page-content h4 { font-size: 1rem; }

/* Paragraphes */
.default-page-content p { margin-bottom: 1.1rem; }
.default-page-content p:last-child { margin-bottom: 0; }

/* Listes */
.default-page-content ul,
.default-page-content ol {
	padding-left: 1.6rem;
	margin-bottom: 1.1rem;
}
.default-page-content ul li,
.default-page-content ol li {
	margin-bottom: .35rem;
	line-height: 1.7;
}
.default-page-content ul li::marker { color: var(--color-accent); }

/* Liens */
.default-page-content a {
	color: var(--color-primary);
	text-decoration: underline;
	text-decoration-color: rgba(6,109,149,.3);
	transition: color .2s, text-decoration-color .2s;
}
.default-page-content a:hover {
	color: var(--color-accent);
	text-decoration-color: var(--color-accent);
}

/* Images */
.default-page-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
	margin: 1.2rem 0;
}

/* Blockquote */
.default-page-content blockquote {
	border-left: 4px solid var(--color-accent);
	background: #f5f9fc;
	margin: 1.4rem 0;
	padding: 1rem 1.4rem;
	border-radius: 0 10px 10px 0;
	font-style: italic;
	color: var(--color-primary);
}

/* Tables */
.default-page-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2rem 0;
	font-size: .9rem;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #d8e6ef;
}
.default-page-content table thead th {
	background: linear-gradient(90deg, var(--color-primary), #0a8ab8);
	color: #fff;
	padding: .7rem 1rem;
	text-align: left;
	font-weight: 700;
}
.default-page-content table tbody td {
	padding: .65rem 1rem;
	border-bottom: 1px solid #e4edf5;
	color: #4a6070;
}
.default-page-content table tbody tr:nth-child(even) { background: #f5f9fc; }
.default-page-content table tbody tr:last-child td { border-bottom: none; }

/* Séparateur */
.default-page-content hr {
	border: none;
	border-top: 2px solid #e4edf5;
	margin: 2rem 0;
}

/* Lien edit */
.default-page-edit {
	padding: .6rem 2.5rem 1rem;
	font-size: .8rem;
}
.default-page-edit .edit-link a {
	color: #9aabba;
	text-decoration: none;
	font-size: .8rem;
}
.default-page-edit .edit-link a:hover { color: var(--color-accent); }

/* Responsive */
@media (max-width: 768px) {
	.default-page-content { padding: 1.5rem 1.2rem 2rem; }
	.default-page-content h2 { font-size: 1.15rem; }
}


/* =====================================================
   ARCHIVE LABORATOIRES
   ===================================================== */

.labo-archive-inner { padding: 2rem 2.2rem 2.5rem; }

/* Grille */
.labo-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

/* Card */
.labo-card {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #e4edf5;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0,0,0,.06);
	transition: transform .22s, box-shadow .22s;
	display: flex;
	flex-direction: column;
}
.labo-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(6,109,149,.14);
}

/* Image */
.labo-card__img-wrap {
	position: relative;
	display: block;
	overflow: hidden;
	height: 180px;
}
.labo-card__img-wrap img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .35s;
}
.labo-card:hover .labo-card__img-wrap img { transform: scale(1.06); }
.labo-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6,109,149,.7) 0%, transparent 60%);
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: .8rem;
	opacity: 0;
	transition: opacity .25s;
}
.labo-card:hover .labo-card__overlay { opacity: 1; }
.labo-card__overlay .fas {
	font-size: 1.5rem;
	color: rgba(255,255,255,.9);
}

/* Sans image */
.labo-card__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 140px;
	background: linear-gradient(135deg, #e8f4fb, #f0f9ff);
	text-decoration: none;
}
.labo-card__icon-wrap .fas {
	font-size: 3rem;
	color: var(--color-primary);
	opacity: .5;
}

/* Body */
.labo-card__body { padding: 1.2rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.labo-card__label {
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--color-accent);
	margin-bottom: .4rem;
}
.labo-card__title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 .6rem;
	line-height: 1.4;
}
.labo-card__title a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color .2s;
}
.labo-card__title a:hover { color: var(--color-accent); }
.labo-card__excerpt {
	font-size: .85rem;
	color: #5a7080;
	line-height: 1.6;
	margin: 0 0 1rem;
	flex: 1;
}
.labo-card__btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .8rem;
	font-weight: 700;
	color: var(--color-primary);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .06em;
	transition: color .2s, gap .2s;
}
.labo-card__btn:hover { color: var(--color-accent); gap: .7rem; }

/* Sidebar summary */
.labo-summary-body { padding: 1.2rem 1.2rem 1.4rem; }
.labo-summary-count {
	display: flex;
	align-items: baseline;
	gap: .5rem;
	margin-bottom: .7rem;
}
.labo-summary-num {
	font-size: 2.8rem;
	font-weight: 800;
	color: var(--color-primary);
	line-height: 1;
	font-family: Montserrat, sans-serif;
}
.labo-summary-label {
	font-size: .8rem;
	font-weight: 600;
	color: var(--color-accent);
	text-transform: uppercase;
	letter-spacing: .07em;
}
.labo-summary-text {
	font-size: .83rem;
	color: #5a7080;
	line-height: 1.6;
	margin: 0;
}

/* Pagination */
.labo-pagination { display: flex; justify-content: center; margin-top: 1.5rem; }
.labo-pagination .nav-links { display: flex; gap: .4rem; align-items: center; }
.labo-pagination .page-numbers {
	display: flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 8px;
	border: 1px solid #d8e6ef;
	color: var(--color-primary);
	text-decoration: none;
	font-size: .85rem; font-weight: 600;
	transition: background .2s, color .2s;
}
.labo-pagination .page-numbers:hover,
.labo-pagination .page-numbers.current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Vide */
.labo-empty { text-align: center; padding: 4rem 2rem; color: #9aabba; }
.labo-empty .fas { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: .4; }

@media (max-width: 600px) {
	.labo-archive-grid { grid-template-columns: 1fr; }
	.labo-archive-inner { padding: 1.5rem 1rem 2rem; }
}


/* =====================================================
   PAGE CONTACT
   ===================================================== */

/* Intro */
.contact-intro {
	padding: 2.4rem 1rem 0;
}
.contact-intro__content {
	max-width: 820px;
	margin: 0 auto;
	font-size: .97rem;
	line-height: 1.85;
	color: #4a6070;
	text-align: center;
}

/* Grille 4 cards */
.contact-info-section {
	padding: 2.8rem 1rem 3rem;
}
.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.4rem;
}

/* Card */
.contact-card {
	background: #fff;
	border: 1px solid #e2edf5;
	border-radius: 16px;
	padding: 2rem 1.4rem 1.8rem;
	text-align: center;
	box-shadow: 0 2px 18px rgba(0,0,0,.05);
	transition: transform .22s, box-shadow .22s;
	position: relative;
	overflow: hidden;
}
.contact-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
	transform: scaleX(0);
	transition: transform .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(6,109,149,.13); }
.contact-card:hover::before { transform: scaleX(1); }

.contact-card__icon {
	width: 64px; height: 64px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(6,109,149,.1), rgba(6,109,149,.05));
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1.2rem;
	transition: background .25s;
}
.contact-card:hover .contact-card__icon {
	background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}
.contact-card__icon .fas {
	font-size: 1.4rem;
	color: var(--color-primary);
	transition: color .25s;
}
.contact-card:hover .contact-card__icon .fas { color: #fff; }

.contact-card__title {
	font-size: .95rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0 0 .6rem;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.contact-card__text {
	font-size: .88rem;
	color: #5a7080;
	line-height: 1.7;
	margin: 0;
}
.contact-card__text a {
	color: #5a7080;
	text-decoration: none;
	transition: color .2s;
}
.contact-card__text a:hover { color: var(--color-primary); }

/* Section carte */
.contact-map-section {
	margin: 0;
	border-top: 1px solid #e4edf5;
}
.contact-map-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 2rem;
	background: var(--color-primary);
	flex-wrap: wrap;
	gap: .6rem;
}
.contact-map-label {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-weight: 700;
	font-size: .9rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #fff;
}
.contact-map-label .fas { color: var(--color-accent); font-size: 1rem; }
.contact-map-link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .82rem;
	font-weight: 600;
	color: rgba(255,255,255,.8);
	text-decoration: none;
	border: 1px solid rgba(255,255,255,.3);
	padding: .35rem .9rem;
	border-radius: 20px;
	transition: background .2s, color .2s;
}
.contact-map-link:hover { background: #fff; color: var(--color-primary); }
.contact-map-embed { line-height: 0; }
.contact-map-embed iframe { display: block; width: 100%; }

/* Responsive */
@media (max-width: 900px) {
	.contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
	.contact-info-grid { grid-template-columns: 1fr; }
	.contact-map-header { flex-direction: column; align-items: flex-start; padding: 1rem 1.2rem; }
}

.register-cta-link {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: 1.4rem;
	padding: .65rem 1.4rem;
	border: 2px solid rgba(255,255,255,.55);
	border-radius: 30px;
	color: #fff;
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: .04em;
	transition: background .22s, border-color .22s, gap .22s;
}
.register-cta-link:hover {
	background: rgba(255,255,255,.15);
	border-color: #fff;
	gap: .8rem;
}
.register-cta-link svg { flex-shrink: 0; transition: transform .22s; }
.register-cta-link:hover svg { transform: translateX(3px); }


/* =====================================================
   SECTION ACTUALITÉS (3b)
   ===================================================== */
.section-actu { padding: 5rem 0; background: #f7f9fc; }

.section-actu .section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 2.4rem;
	flex-wrap: wrap;
	gap: 1rem;
}
.section-actu .section-header__left { display: flex; flex-direction: column; gap: .2rem; }
.section-actu .section-title { margin: 0; }

/* Grille : grande carte 55% + colonne 45% */
.actu-grid {
	display: grid;
	grid-template-columns: 55% 1fr;
	gap: 1.5rem;
	align-items: start;
}

/* --- Grande carte featured --- */
.actu-featured {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 24px rgba(0,0,0,.07);
	text-decoration: none;
	transition: transform .22s, box-shadow .22s;
	height: 100%;
}
.actu-featured:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(6,109,149,.13); }

.actu-featured__img {
	position: relative;
	width: 100%;
	height: 280px;
	overflow: hidden;
}
.actu-featured__img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.actu-featured:hover .actu-featured__img img { transform: scale(1.05); }
.actu-featured__no-img {
	width: 100%; height: 100%;
	background: linear-gradient(135deg, #e0edf5, #c8dfe9);
}

.actu-featured__body {
	padding: 1.6rem 1.8rem 1.8rem;
	display: flex;
	flex-direction: column;
	gap: .6rem;
	flex: 1;
}
.actu-tag {
	display: inline-block;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--color-accent);
	background: rgba(6,109,149,.08);
	padding: .25rem .7rem;
	border-radius: 20px;
	width: fit-content;
}
.actu-featured__title {
	font-size: 1.22rem;
	font-weight: 700;
	color: var(--color-primary);
	line-height: 1.45;
	margin: 0;
	transition: color .2s;
}
.actu-featured:hover .actu-featured__title { color: var(--color-accent); }
.actu-featured__exc {
	font-size: .9rem;
	color: #5a7080;
	line-height: 1.7;
	margin: 0;
}
.actu-featured__date {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-size: .78rem;
	color: #8fa5b5;
	margin-top: auto;
}

/* --- Colonne 3 cartes secondaires --- */
.actu-side {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.actu-card {
	display: flex;
	gap: .9rem;
	align-items: center;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,.05);
	text-decoration: none;
	padding: .9rem;
	transition: transform .2s, box-shadow .2s;
	border-left: 3px solid transparent;
}
.actu-card:hover {
	transform: translateX(4px);
	box-shadow: 0 6px 24px rgba(6,109,149,.10);
	border-left-color: var(--color-primary);
}

.actu-card__img {
	width: 90px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
}
.actu-card__img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .3s;
}
.actu-card:hover .actu-card__img img { transform: scale(1.08); }

.actu-card__body { flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.actu-card__title {
	font-size: .9rem;
	font-weight: 700;
	color: var(--color-primary);
	margin: 0;
	line-height: 1.4;
	transition: color .2s;
}
.actu-card:hover .actu-card__title { color: var(--color-accent); }
.actu-card__exc {
	font-size: .78rem;
	color: #7a90a0;
	margin: 0;
	line-height: 1.5;
}
.actu-card__date {
	font-size: .72rem;
	color: #a0b3c0;
}

/* Responsive */
@media (max-width: 900px) {
	.actu-grid { grid-template-columns: 1fr; }
	.actu-featured__img { height: 220px; }
}
@media (max-width: 540px) {
	.actu-card__img { width: 70px; height: 65px; }
}


/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */
.reveal {
	opacity: 0;
	transition: opacity .95s cubic-bezier(.4,0,.2,1),
	            transform .95s cubic-bezier(.4,0,.2,1);
	transition-delay: var(--d, 0s);
}
.reveal.is-visible {
	opacity: 1 !important;
	transform: none !important;
}
.reveal--up    { transform: translateY(44px); }
.reveal--left  { transform: translateX(-52px); }
.reveal--right { transform: translateX(52px); }
.reveal--zoom  { transform: scale(.91); opacity: 0; }
.reveal--fade  { transform: none; opacity: 0; }

/* Préférence réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
	.reveal { transition: opacity .3s ease !important; transform: none !important; }
}


/* =====================================================
   MENU MOBILE — Panel latéral
   ===================================================== */

/* Cacher le bouton hamburger sur desktop */
.mob-toggle { display: none; }

/* ── Hamburger ── */
@media (max-width: 900px) {

	/* Cacher nav desktop */
	.main-navigation { display: none !important; }

	/* Afficher hamburger */
	.mob-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 42px;
		height: 42px;
		padding: 8px;
		background: none;
		border: 2px solid rgba(255,255,255,.35);
		border-radius: 8px;
		cursor: pointer;
		transition: border-color .2s, background .2s;
		flex-shrink: 0;
	}
	.mob-toggle:hover { border-color: var(--color-accent); background: rgba(255,255,255,.08); }

	.mob-toggle__bar {
		display: block;
		width: 100%;
		height: 2px;
		background: #fff;
		border-radius: 2px;
		transition: transform .35s cubic-bezier(.4,0,.2,1),
		            opacity .25s,
		            width .3s;
		transform-origin: center;
	}

	/* Animation X au clic */
	.mob-toggle.is-open .mob-toggle__bar:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.mob-toggle.is-open .mob-toggle__bar:nth-child(2) {
		opacity: 0;
		transform: scaleX(0);
	}
	.mob-toggle.is-open .mob-toggle__bar:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}
}

/* ── Overlay ── */
.mob-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(5, 28, 44, .6);
	backdrop-filter: blur(3px);
	z-index: 9998;
	opacity: 0;
	transition: opacity .35s;
}
.mob-overlay.is-open {
	display: block;
	opacity: 1;
}

/* ── Panel ── */
.mob-panel {
	position: fixed;
	top: 0; right: 0;
	width: min(340px, 88vw);
	height: 100dvh;
	background: #0d1e2e;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .38s cubic-bezier(.4,0,.2,1);
	overflow-y: auto;
	overflow-x: hidden;
}
.mob-panel.is-open { transform: translateX(0); }

/* ── Entête panel ── */
.mob-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.1rem 1.3rem;
	border-bottom: 1px solid rgba(255,255,255,.08);
	flex-shrink: 0;
}
.mob-panel__logo img,
.mob-panel__logo svg { max-height: 44px; width: auto; }
.mob-panel__logo { text-decoration: none; color: #fff; font-weight: 700; }

.mob-panel__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	background: rgba(255,255,255,.08);
	border: none;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	transition: background .2s;
	flex-shrink: 0;
}
.mob-panel__close:hover { background: rgba(255,255,255,.18); }

/* ── Nav mobile ── */
.mob-nav { flex: 1; padding: .5rem 0; }

.mob-nav ul {
	list-style: none;
	margin: 0; padding: 0;
}

/* Items niveau 1 */
.mob-nav > ul > li {
	border-bottom: 1px solid rgba(255,255,255,.06);
	position: relative;
}

.mob-nav > ul > li > a {
	display: block;
	padding: .9rem 1.3rem;
	color: rgba(255,255,255,.9);
	text-decoration: none;
	font-size: .95rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	transition: color .2s, padding-left .2s;
}
.mob-nav > ul > li > a:hover,
.mob-nav > ul > li.current-menu-item > a {
	color: var(--color-accent);
	padding-left: 1.7rem;
}
.mob-nav > ul > li.current-menu-item > a {
	border-left: 3px solid var(--color-accent);
}

/* Bouton toggle sous-menu */
.mob-sub-toggle {
	position: absolute;
	top: 0; right: 0;
	width: 48px;
	height: 48px;
	background: none;
	border: none;
	color: rgba(255,255,255,.5);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color .2s;
}
.mob-sub-toggle:hover { color: var(--color-accent); }
.mob-sub-toggle svg {
	transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mob-open > .mob-sub-toggle svg { transform: rotate(180deg); }
.mob-open > .mob-sub-toggle { color: var(--color-accent); }

/* Sous-menus (accordéon) */
.mob-nav ul.sub-menu {
	max-height: 0;
	overflow: hidden;
	background: rgba(0,0,0,.2);
	transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.mob-nav ul.sub-menu li a {
	display: block;
	padding: .7rem 1.3rem .7rem 2rem;
	color: rgba(255,255,255,.65);
	text-decoration: none;
	font-size: .88rem;
	font-weight: 500;
	border-left: 2px solid rgba(255,255,255,.08);
	margin-left: 1.3rem;
	transition: color .2s, border-color .2s;
}
.mob-nav ul.sub-menu li a:hover {
	color: var(--color-accent);
	border-color: var(--color-accent);
}

/* Sous-sous-menus */
.mob-nav ul.sub-menu ul.sub-menu {
	background: rgba(0,0,0,.15);
}
.mob-nav ul.sub-menu ul.sub-menu li a {
	padding-left: 3rem;
}

/* ── Pied panel ── */
.mob-panel__foot {
	padding: 1.2rem 1.3rem;
	border-top: 1px solid rgba(255,255,255,.08);
	flex-shrink: 0;
}
.mob-panel__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: 100%;
	padding: .85rem;
	background: var(--color-primary);
	color: #fff;
	text-decoration: none;
	border-radius: 10px;
	font-size: .9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	transition: background .2s;
}
.mob-panel__cta:hover { background: var(--color-accent); }
