/* =================================================================
   SIM — Feuille de style principale
   Charte graphique inspirée du logo : bleu marine profond + cyan.
   ================================================================= */

:root {
	/* Palette sobre et professionnelle (bleus désaturés, type institutionnel) */
	--sim-navy-deep: #0c1631;
	--sim-navy: #16264c;
	--sim-navy-2: #213a63;
	--sim-blue: #2c5d92;      /* bleu primaire raffiné (boutons, accents) */
	--sim-cyan: #3580ab;      /* accent secondaire adouci (ex-cyan néon) */
	--sim-cyan-light: #8fbdd6;/* accent clair discret */
	--sim-ink: #18223d;
	--sim-text: #2a3450;
	--sim-muted: #66708a;
	--sim-line: #e7eaf1;
	--sim-bg: #ffffff;
	--sim-bg-alt: #f6f8fb;
	--sim-white: #ffffff;

	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 10px 30px rgba(10, 20, 82, 0.08);
	--shadow-lg: 0 24px 60px rgba(10, 20, 82, 0.16);
	--container: 1200px;
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--sim-text);
	background: var(--sim-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--sim-ink); line-height: 1.2; font-weight: 800; margin: 0 0 .5em; }
a { color: var(--sim-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--sim-cyan); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.page-wrap { padding: 56px 24px; max-width: var(--container); margin: 0 auto; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--sim-cyan); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 999; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem;
	border: 1.5px solid transparent; cursor: pointer; transition: all .18s ease;
	line-height: 1; text-align: center;
}
.btn--primary { background: var(--sim-cyan); color: #fff; }
.btn--primary:hover { background: var(--sim-blue); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--small { padding: 9px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(7, 13, 51, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand, .custom-logo-link { display: inline-flex; align-items: center; gap: 12px; }
.brand img, .custom-logo-link img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; }
.brand__text { color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: .04em; line-height: 1; }
.brand__text small { display: block; font-size: .58rem; font-weight: 500; letter-spacing: .22em; color: var(--sim-cyan-light); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.primary-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-menu a { color: #dfe6f7; font-weight: 500; font-size: .96rem; position: relative; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: #fff; }
.primary-menu .current-menu-item > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--sim-cyan); border-radius: 2px;
}
.site-header__actions { display: flex; align-items: center; gap: 16px; }

.lang-switcher { display: inline-flex; align-items: center; gap: 8px; color: #aeb8db; font-size: .85rem; font-weight: 600; }
.lang-switcher a { color: #aeb8db; }
.lang-switcher a.is-active { color: var(--sim-cyan); }
.lang-sep { opacity: .4; }

.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
	content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -7px; } .nav-toggle__bar::after { top: 7px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--sim-navy-deep); color: #fff; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
/* Photo de fond (équipe du labo) */
.hero__photo {
	position: absolute; inset: 0; z-index: 0;
	background-repeat: no-repeat; background-position: 50% 32%; background-size: cover;
}
/* Voile bleu marine par-dessus la photo (intensité moyenne, plus dense à gauche pour la lisibilité du texte) */
.hero__bg {
	position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(105deg, rgba(12,22,49,.92) 0%, rgba(18,34,76,.82) 42%, rgba(33,58,99,.58) 100%),
		linear-gradient(0deg, rgba(12,22,49,.45), rgba(12,22,49,0) 55%);
}
.hero__inner { position: relative; z-index: 2; padding: 96px 24px 104px; width: 100%; }
.hero__content { max-width: 640px; }
.hero__logo { width: 80px; height: 80px; border-radius: 16px; margin-bottom: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
.hero__eyebrow { color: var(--sim-cyan-light); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin: 0 0 14px; }
.hero__title { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.hero__lead { color: #c6d0ef; font-size: 1.12rem; max-width: 42ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- KPIs ---------- */
.kpis { background: var(--sim-navy); }
.kpis__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 24px; }
.kpi { text-align: center; color: #fff; }
.kpi__num { display: block; font-size: 2.6rem; font-weight: 800; color: var(--sim-cyan-light); line-height: 1; }
.kpi__label { display: block; margin-top: 8px; color: #aeb8db; font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--sim-bg-alt); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.section__link { font-weight: 600; white-space: nowrap; }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cartes ---------- */
.card {
	background: var(--sim-white); border: 1px solid var(--sim-line); border-radius: var(--radius);
	padding: 22px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__title { font-size: 1.18rem; margin-bottom: 10px; }
.card__title a { color: var(--sim-ink); }
.card__title a:hover { color: var(--sim-cyan); }
.card__excerpt { color: var(--sim-muted); font-size: .96rem; margin: 0 0 16px; }
.card__more { margin-top: auto; font-weight: 600; color: var(--sim-cyan); }
.card__meta { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; color: var(--sim-muted); font-size: .88rem; }
.card__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

.card--axe { background: linear-gradient(155deg, #213a63, #16264c); border: 0; color: #fff; }
.card--axe .card__title { color: #fff; } .card--axe .card__excerpt { color: #c6d0ef; }
.card--feature .card__title { color: var(--sim-blue); }

.card--news .card__thumb img { border-radius: var(--radius-sm); margin-bottom: 14px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card__date { color: var(--sim-muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.card--profil { align-items: center; text-align: center; }
.card__avatar img, .card__avatar-placeholder, .card__avatar .avatar-svg {
	width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px;
	display: grid; place-items: center; background: linear-gradient(155deg, var(--sim-blue), var(--sim-cyan));
	color: #fff; font-size: 2.4rem; font-weight: 800;
}
.avatar-svg { display: block; }
.card--profil .card__role { color: var(--sim-muted); font-size: .9rem; margin: 0; }

/* ---------- Badges & tags ---------- */
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .02em; background: #e9f4fc; color: var(--sim-blue); }
.badge--these, .badge--phd { background: #ede9fe; color: #6d28d9; }
.badge--stage, .badge--internship { background: #e0f7ec; color: #0f9d58; }
.badge--memoire, .badge--masters-thesis { background: #fff3e0; color: #d97706; }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tag { background: var(--sim-bg-alt); border: 1px solid var(--sim-line); border-radius: 999px; padding: 5px 13px; font-size: .82rem; color: var(--sim-muted); }
.tag:hover { border-color: var(--sim-cyan); color: var(--sim-cyan); }

/* ---------- Filtres ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; background: var(--sim-bg-alt); border: 1px solid var(--sim-line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 30px; }
.filters__field { display: flex; flex-direction: column; gap: 6px; }
.filters__field label { font-size: .8rem; font-weight: 600; color: var(--sim-muted); }
.filters select { padding: 10px 12px; border: 1px solid var(--sim-line); border-radius: var(--radius-sm); background: #fff; font: inherit; min-width: 200px; }

/* ---------- En-têtes d'archive / page ---------- */
.archive-head { margin-bottom: 36px; }
.archive-head__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.archive-head__desc { color: var(--sim-muted); font-size: 1.08rem; max-width: 70ch; }
.page-single { max-width: 820px; }
.page-single__eyebrow { color: var(--sim-cyan); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.page-single__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.page-single__date { color: var(--sim-muted); }
.page-single__media img { border-radius: var(--radius); margin: 24px 0; width: 100%; }
.page-single__content { font-size: 1.05rem; }
.page-single__content h2 { margin-top: 1.6em; }

/* ---------- Offre single ---------- */
.offre-single { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; max-width: var(--container); }
.offre-single__apply { grid-column: 1 / -1; border-top: 1px solid var(--sim-line); padding-top: 36px; max-width: 720px; }
.offre-card { position: sticky; top: 96px; background: var(--sim-bg-alt); border: 1px solid var(--sim-line); border-radius: var(--radius); padding: 24px; }
.offre-card h2 { font-size: 1.1rem; }
.offre-card__list { list-style: none; margin: 0 0 20px; padding: 0; }
.offre-card__list li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px dashed var(--sim-line); }
.offre-card__list strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--sim-muted); }

/* ---------- Formulaire de candidature ---------- */
.apply-form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.apply-form label { font-weight: 600; font-size: .92rem; }
.apply-form input, .apply-form textarea {
	padding: 12px 14px; border: 1px solid var(--sim-line); border-radius: var(--radius-sm); font: inherit; background: #fff;
}
.apply-form input:focus, .apply-form textarea:focus { outline: 2px solid var(--sim-cyan); border-color: var(--sim-cyan); }
.apply-form .req { color: #e11d48; }
.apply-form__rgpd { font-size: .88rem; color: var(--sim-muted); margin: 8px 0 20px; }
.apply-form__rgpd label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Agenda ---------- */
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda__item { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--sim-line); }
.agenda__date {
	flex: 0 0 72px; height: 72px; border-radius: var(--radius-sm); background: linear-gradient(155deg, var(--sim-blue), var(--sim-cyan));
	color: #fff; display: grid; place-content: center; text-align: center;
}
.agenda__day { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.agenda__month { text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }
.agenda__title { margin: 0 0 4px; font-size: 1.15rem; }
.agenda__meta { color: var(--sim-muted); font-size: .9rem; margin: 0 0 6px; }
.agenda__excerpt { color: var(--sim-muted); font-size: .94rem; margin: 0; }

/* ---------- Profil single ---------- */
.profil-single__head { display: flex; gap: 28px; align-items: center; margin-bottom: 30px; flex-wrap: wrap; }
.profil-single__avatar img, .profil-single__avatar .card__avatar-placeholder, .profil-single__avatar .avatar-svg { width: 140px; height: 140px; }
.profil-single__role { color: var(--sim-cyan); font-weight: 600; margin: 0 0 6px; }

/* ---------- Liens profil (portfolio) ---------- */
.profil-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.plink {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px;
	border-radius: 999px; border: 1px solid var(--sim-line); background: #fff;
	color: var(--sim-text); font-size: .88rem; font-weight: 600; line-height: 1;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.plink:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--sim-text); }
.plink__icon { width: 16px; height: 16px; border-radius: 4px; display: inline-block; background: var(--sim-blue); }
.plink--linkedin:hover { border-color: #0a66c2; } .plink--linkedin .plink__icon { background: #0a66c2; }
.plink--github:hover   { border-color: #24292f; } .plink--github .plink__icon   { background: #24292f; }
.plink--orcid:hover    { border-color: #a6ce39; } .plink--orcid .plink__icon    { background: #a6ce39; }
.plink--scholar:hover  { border-color: #4285f4; } .plink--scholar .plink__icon  { background: #4285f4; }
.plink--website:hover  { border-color: var(--sim-cyan); } .plink--website .plink__icon { background: var(--sim-cyan); }
.plink--email:hover    { border-color: var(--sim-blue); } .plink--email .plink__icon { background: var(--sim-blue); }

/* ---------- Publications ---------- */
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub-list__item { padding: 16px 0; border-bottom: 1px solid var(--sim-line); }
.pub-list__title { margin: 0 0 4px; font-weight: 600; }
.pub-list__meta { margin: 0; color: var(--sim-muted); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--sim-blue), var(--sim-cyan)); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); max-width: 60ch; }
.cta-band .btn--primary { background: #fff; color: var(--sim-blue); }

/* ---------- Notices ---------- */
.notice { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--sim-bg-alt); }
.notice--success { background: #e7f8ef; color: #0f7a43; border: 1px solid #bfe9d2; }
.notice--error { background: #fdecef; color: #b3123a; border: 1px solid #f5c2cf; }

/* ---------- Pagination ---------- */
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--sim-line); margin: 4px; color: var(--sim-text); }
.page-numbers.current { background: var(--sim-cyan); color: #fff; border-color: var(--sim-cyan); }
.pagination, nav.navigation { margin-top: 36px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sim-navy-deep); color: #c6d0ef; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 36px; padding: 56px 24px 40px; align-items: start; }
.site-footer .brand__text { color: #fff; }
.site-footer__tagline { color: #95a2cf; max-width: 40ch; margin-top: 16px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a { color: #c6d0ef; }
.footer-menu a:hover { color: var(--sim-cyan-light); }
.footer-widget__title { color: #fff; font-size: 1rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: .86rem; }
.site-footer__bottom p { margin: 0; color: #8e9bc7; }
.site-footer__bottom a { color: #b9c4ec; }

/* ---------- Newsletter ---------- */
.newsletter__title { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.newsletter__intro { color: #95a2cf; font-size: .92rem; margin: 0 0 14px; }
.newsletter__row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.newsletter__row input[type="email"] {
	flex: 1 1 180px; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
	background: rgba(255,255,255,.06); color: #fff; font: inherit;
}
.newsletter__row input[type="email"]::placeholder { color: #8e9bc7; }
.newsletter__row input[type="email"]:focus { outline: 2px solid var(--sim-cyan); border-color: var(--sim-cyan); }
.newsletter__row .btn { white-space: nowrap; }
.newsletter__consent { display: flex; gap: 8px; align-items: flex-start; color: #95a2cf; font-size: .8rem; line-height: 1.4; }
.newsletter__consent input { margin-top: 3px; }
.newsletter__hp { position: absolute; left: -9999px; }
.newsletter .notice { margin-bottom: 12px; font-size: .88rem; padding: 10px 12px; }

/* Variante newsletter en bandeau clair (via shortcode dans une page) */
.page-single__content .newsletter,
.entry-content .newsletter {
	background: var(--sim-bg-alt); border: 1px solid var(--sim-line); border-radius: var(--radius); padding: 28px;
}
.page-single__content .newsletter__title,
.entry-content .newsletter__title { color: var(--sim-ink); }
.page-single__content .newsletter__intro,
.entry-content .newsletter__intro { color: var(--sim-muted); }
.page-single__content .newsletter__row input[type="email"],
.entry-content .newsletter__row input[type="email"] { background: #fff; color: var(--sim-text); border-color: var(--sim-line); }
.page-single__content .newsletter__consent,
.entry-content .newsletter__consent { color: var(--sim-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.hero { min-height: 460px; }
	.hero__inner { padding: 72px 24px 80px; }
	.hero__bg { background: linear-gradient(120deg, rgba(12,22,49,.93) 0%, rgba(18,34,76,.85) 60%, rgba(33,58,99,.70) 100%); }
	.kpis__grid { grid-template-columns: repeat(2, 1fr); }
	.grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
	.offre-single { grid-template-columns: 1fr; }
	.offre-card { position: static; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }

	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
		background: var(--sim-navy-deep); padding: 12px 24px 24px; transform: translateY(-120%);
		transition: transform .25s ease; box-shadow: 0 20px 40px rgba(0,0,0,.4); max-height: calc(100vh - 72px); overflow:auto;
	}
	.site-nav.is-open { transform: translateY(0); }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-menu li { border-bottom: 1px solid rgba(255,255,255,.08); }
	.primary-menu a { display: block; padding: 14px 0; }
	.site-header__actions { padding-top: 14px; justify-content: space-between; }
}

@media (max-width: 560px) {
	.kpis__grid, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Partenaires (bande de logos) ---------- */
.section__head--center { text-align: center; justify-content: center; }
.partners__grid { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 44px; }
.partners__item { display: flex; align-items: center; justify-content: center; }
.partners__link, .partners__name { display: inline-flex; align-items: center; justify-content: center; }
.partners__logo { max-height: 64px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(100%); opacity: .7; transition: filter .2s ease, opacity .2s ease, transform .2s ease; }
.partners__link:hover .partners__logo { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
.partners__name { font-weight: 700; color: var(--sim-navy); padding: 10px 18px; border: 1px solid var(--sim-line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s ease, color .2s ease; }
.partners__link:hover .partners__name { border-color: var(--sim-cyan); color: var(--sim-blue); }

/* ---------- Événement : méta & visioconférence ---------- */
.event-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 12px; color: var(--sim-muted); font-size: .95rem; }
.event-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.event-meta__item--online { color: var(--sim-blue); font-weight: 600; }
.event-meta__item--rec { color: #b91c1c; font-weight: 600; }
.event-meta__item--private { color: #7a5200; font-weight: 600; }
.badge--online { background: #e0f7ec; color: #0f9d58; margin-left: 8px; vertical-align: middle; }
.badge--replay { background: #ede9fe; color: #6d28d9; margin-left: 6px; vertical-align: middle; }
.agenda__title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }

.event-meet { margin: 36px 0 8px; padding: 26px; background: var(--sim-bg-alt); border: 1px solid var(--sim-line); border-radius: var(--radius); }
.event-meet__title { margin: 0 0 6px; font-size: 1.35rem; color: var(--sim-ink); }
.event-meet__intro { margin: 0 0 18px; color: var(--sim-muted); }
.event-meet__frame { aspect-ratio: 16 / 9; min-height: 480px; margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.event-meet__frame iframe { width: 100%; height: 100%; border: 0; }
.event-meet__fallback { margin: 14px 0 0; font-size: .9rem; color: var(--sim-muted); word-break: break-all; }
.event-meet__fallback a { color: var(--sim-blue); }
.event-meet__error { margin: 12px 0 0; color: #b91c1c; font-weight: 600; }
.event-meet__manager { margin: 0 0 16px; padding: 12px 14px; background: #fff7e6; border: 1px solid #fcd9a0; border-radius: var(--radius-sm); font-size: .92rem; color: #7a5200; }
.event-meet__manager code { background: #fff; padding: 2px 8px; border-radius: 4px; font-weight: 700; color: var(--sim-ink); }
.event-meet__manager-note { color: #9a7330; font-size: .85rem; }
.event-replay { margin: 28px 0 8px; padding: 22px 26px; background: #f5f2ff; border: 1px solid #ddd2fb; border-radius: var(--radius); }
.event-replay__title { margin: 0 0 6px; font-size: 1.25rem; color: #5b21b6; }
.event-replay__text { margin: 0 0 16px; color: var(--sim-muted); }

/* =================================================================
   Finition « pro » de la page d'accueil (v1.6.1)
   ================================================================= */

/* Accessibilité : focus clavier net et cohérent (cahier des charges §5). */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--sim-cyan); outline-offset: 2px; border-radius: 6px;
}

/* En-têtes de section : filet d'accent dégradé sous le titre. */
.section__head h2 { position: relative; padding-bottom: 14px; }
.section__head h2::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: 52px; height: 4px; border-radius: 3px;
	background: linear-gradient(90deg, var(--sim-blue), var(--sim-cyan));
}
.section__head--center h2::after { left: 50%; transform: translateX(-50%); }
.section__head { align-items: center; }

/* Chiffres clés : séparateurs verticaux discrets (effet tableau de bord). */
.kpis { border-top: 1px solid rgba(255,255,255,.06); }
.kpi { position: relative; }
.kpi + .kpi::before {
	content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
	width: 1px; height: 52px; background: rgba(255,255,255,.14);
}
.kpi__num { letter-spacing: -.02em; }

/* Cartes d'axes : élégantes même sans description. */
.card--axe { position: relative; overflow: hidden; min-height: 168px; justify-content: flex-start; }
.card--axe::before {
	content: ""; position: absolute; right: -38px; top: -38px; width: 130px; height: 130px;
	border-radius: 50%; background: radial-gradient(circle, rgba(143,189,214,.30), transparent 70%);
	pointer-events: none;
}
.card--axe .card__title { font-size: 1.28rem; position: relative; }
.card--axe .card__excerpt:empty { display: none; }
.card--axe .card__more { color: var(--sim-cyan-light); }
.card--axe:hover .card__more { color: #fff; }

/* Bande partenaires : fond clair séparateur + respiration. */
.partners { background: var(--sim-bg-alt); border-top: 1px solid var(--sim-line); }
.partners__grid { margin-top: 14px; gap: 30px 52px; }

@media (max-width: 560px) {
	.kpi + .kpi::before { display: none; }
}

/* =================================================================
   v1.8.0 — Moteur de recherche interne, agenda en accueil, finitions
   ================================================================= */

/* ---------- Recherche : bouton loupe (header) ---------- */
.search-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.18); background: transparent; color: #dfe6f7;
	cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.search-toggle:hover { background: rgba(255,255,255,.1); color: #fff; }
.search-toggle[aria-expanded="true"] { background: var(--sim-cyan); border-color: var(--sim-cyan); color: #fff; }

/* ---------- Recherche : panneau sous le header (reste collé au scroll) ---------- */
.header-search { background: var(--sim-navy); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.header-search .container { padding-top: 16px; padding-bottom: 16px; }
.search-form { display: flex; gap: 10px; }
.search-form__input {
	flex: 1 1 auto; min-width: 0; padding: 12px 18px; border-radius: 999px;
	border: 1px solid var(--sim-line); background: #fff; color: var(--sim-text); font: inherit;
}
.header-search .search-form__input { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; }
.header-search .search-form__input::placeholder { color: #8e9bc7; }
.search-form__submit { white-space: nowrap; }

/* ---------- Recherche : page de résultats ---------- */
.search-term { color: var(--sim-blue); }
.search-refine { max-width: 620px; margin: 0 0 38px; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-result { padding: 24px 0; border-bottom: 1px solid var(--sim-line); }
.search-result:first-child { border-top: 1px solid var(--sim-line); }
.search-result__title { margin: 8px 0 6px; font-size: 1.22rem; }
.search-result__title a { color: var(--sim-ink); }
.search-result__title a:hover { color: var(--sim-cyan); }
.search-result__excerpt { margin: 0; color: var(--sim-muted); max-width: 80ch; }

/* ---------- Accueil : actualités + agenda côte à côte ---------- */
.home-duo { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.home-duo__agenda .btn { margin-top: 20px; }
.agenda--mini .agenda__item { padding: 15px 0; gap: 16px; }
.agenda--mini .agenda__item:first-child { padding-top: 4px; }
.agenda--mini .agenda__date { flex: 0 0 58px; height: 58px; }
.agenda--mini .agenda__day { font-size: 1.3rem; }
.agenda--mini .agenda__title { font-size: 1.02rem; margin-bottom: 2px; }
.agenda--mini .agenda__meta { font-size: .86rem; margin: 0; }

/* Bouton contour pour fonds clairs (agenda, pages internes). */
.btn--outline { background: #fff; color: var(--sim-blue); border-color: var(--sim-blue); }
.btn--outline:hover { background: var(--sim-blue); color: #fff; transform: translateY(-1px); }

@media (max-width: 980px) {
	.home-duo { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 560px) {
	.grid--2 { grid-template-columns: 1fr; }
	.search-form { flex-wrap: wrap; }
}

/* ---------- Témoignages / portraits (v1.8.1) ---------- */
.card--testimonial { position: relative; padding-top: 30px; }
.card--testimonial::before {
	content: "\201C"; position: absolute; top: 6px; left: 18px;
	font-size: 4.2rem; line-height: 1; font-weight: 800; font-family: Georgia, serif;
	color: var(--sim-cyan-light); opacity: .55; pointer-events: none;
}
.testimonial__quote { margin: 0 0 20px; padding: 14px 0 0; color: var(--sim-text); font-size: .98rem; }
.testimonial__quote p { margin: 0 0 .8em; }
.testimonial__quote p:last-child { margin-bottom: 0; }
.testimonial__author { display: flex; align-items: center; gap: 14px; margin-top: auto; border-top: 1px solid var(--sim-line); padding-top: 16px; }
.testimonial__avatar img, .testimonial__avatar .avatar-svg {
	width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
	font-size: 1.1rem; display: grid; place-items: center;
}
.testimonial__who { display: flex; flex-direction: column; }
.testimonial__name { color: var(--sim-ink); font-size: .98rem; }
.testimonial__role { color: var(--sim-muted); font-size: .84rem; }
