/* ==========================================================
   TMR Manager — site public : offres, vidéos, carrousels
   ========================================================== */
.tmrm-scope {
	--p-bg: #0B0F17;
	--p-card: #151A23;
	--p-line: rgba(255, 255, 255, .12);
	--p-text: #FFFFFF;
	--p-muted: #A9AEB6;
	--p-gold: #C8BE8A;
	--p-gold-d: #8A7D3C;
	font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--p-text);
}
.tmrm-scope--light {
	--p-bg: #FFFFFF;
	--p-card: #FFFFFF;
	--p-line: #E7E4DA;
	--p-text: #0B0F17;
	--p-muted: #5B6470;
}
.tmrm-scope *, .tmrm-modal * { box-sizing: border-box; }
.tmrm-scope a { text-decoration: none; }
.tmrm-scope .tmrm-ico { flex: 0 0 auto; }
/* Page « Offres d'emploi » : fond sombre sur toute la largeur */
.tmrm-scope--dark:has(> .tmrm-hero) { background: var(--p-bg); }

/* ---------- Boutons ---------- */
.tmrm-pub-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 24px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .4px;
	text-transform: uppercase;
	border-radius: 50px;
	border: 1.5px solid transparent;
	cursor: pointer;
	overflow: hidden;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.tmrm-pub-btn:hover { transform: translateY(-2px); }
.tmrm-pub-btn--gold { background: var(--p-gold); color: #0B0F17 !important; }
.tmrm-pub-btn--gold:hover { background: #D8CF9F; }
.tmrm-pub-btn--line { background: transparent; color: var(--p-text) !important; border-color: var(--p-line); }
.tmrm-pub-btn--line:hover { border-color: var(--p-gold); color: var(--p-gold) !important; }
.tmrm-pub-btn--sm { min-height: 38px; padding: 9px 16px; font-size: 12px; }
.tmrm-pub-btn--block { width: 100%; }

/* ---------- En-tête de la page Offres ---------- */
.tmrm-hero {
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 20px 30px;
	text-align: center;
}
.tmrm-hero__eyebrow {
	display: inline-block;
	margin: 0 0 16px;
	padding: 7px 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	color: var(--p-gold);
	border: 1px solid rgba(200, 190, 138, .5);
	border-radius: 50px;
	background: rgba(200, 190, 138, .08);
}
.tmrm-hero__title { margin: 0 0 14px; font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -1px; color: var(--p-text); }
.tmrm-hero__text { max-width: 620px; margin: 0 auto; font-size: 18px; line-height: 1.6; color: var(--p-muted); }

/* ---------- Barre d'outils (filtres + recherche) ---------- */
.tmrm-wrap { max-width: 1200px; margin: 0 auto; padding: 30px 20px 90px; }
.tmrm-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.tmrm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tmrm-chip {
	min-height: 40px;
	padding: 9px 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--p-text);
	background: var(--p-card);
	border: 1px solid var(--p-line);
	border-radius: 50px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tmrm-chip:hover { border-color: var(--p-gold); }
.tmrm-chip.is-active { background: var(--p-gold); border-color: var(--p-gold); color: #0B0F17; font-weight: 600; }
.tmrm-searchbox { position: relative; display: flex; align-items: center; margin: 0 0 0 auto; }
.tmrm-searchbox .tmrm-ico { position: absolute; left: 16px; color: var(--p-muted); pointer-events: none; }
.tmrm-scope .tmrm-searchbox input {
	width: 240px;
	min-height: 42px;
	padding: 9px 16px 9px 42px;
	font: inherit;
	font-size: 14px;
	color: var(--p-text);
	background: transparent;
	border: 1px solid var(--p-line);
	border-radius: 50px;
}
.tmrm-scope .tmrm-searchbox input:focus { outline: none; border-color: var(--p-gold); }
.tmrm-none { margin: 20px 0; font-size: 16px; color: var(--p-muted); text-align: center; }

.tmrm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.tmrm-grid > [hidden] { display: none !important; }

/* ---------- Carte offre ---------- */
.tmrm-offre {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--p-card);
	border: 1px solid rgba(200, 190, 138, .45);
	border-radius: 16px;
	transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .3s ease;
}
.tmrm-offre:hover { transform: translateY(-6px); border-color: var(--p-gold); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.tmrm-scope--light .tmrm-offre:hover { box-shadow: 0 24px 50px rgba(11, 15, 23, .12); }
.tmrm-offre__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 4.2;
	overflow: hidden;
	background: linear-gradient(145deg, #F1EDDD, #D9D2A8);
}
.tmrm-offre__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tmrm-offre:hover .tmrm-offre__media img { transform: scale(1.04); }
.tmrm-offre__ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 22px; font-weight: 700; letter-spacing: 4px; line-height: 1.3; color: #0B0F17; }
.tmrm-offre__tag {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #0B0F17;
	background: rgba(255, 255, 255, .92);
	border-radius: 50px;
	backdrop-filter: blur(6px);
}
.tmrm-offre__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 20px 22px; }
.tmrm-offre__title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.tmrm-offre__title a { color: var(--p-text) !important; }
.tmrm-offre__lieu { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--p-gold); }
.tmrm-offre__resume {
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--p-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tmrm-offre__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }

/* ---------- Carte vidéo ---------- */
.tmrm-video {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--p-card);
	border: 1px solid var(--p-line);
	border-radius: 14px;
	transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .3s ease;
}
.tmrm-video:hover { transform: translateY(-5px); border-color: rgba(200, 190, 138, .6); }
.tmrm-video__media {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 16 / 10;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #1E222A;
	cursor: pointer;
	overflow: hidden;
}
.tmrm-video__media img, .tmrm-video__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tmrm-video__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .35)); }
.tmrm-video:hover .tmrm-video__media img { transform: scale(1.05); }
.tmrm-video__play {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	padding-left: 4px;
	color: #FFFFFF;
	border: 2.5px solid #FFFFFF;
	border-radius: 50%;
	background: rgba(0, 0, 0, .25);
	backdrop-filter: blur(4px);
	transition: background .25s ease, color .25s ease, transform .25s ease;
}
.tmrm-video__media:hover .tmrm-video__play, .tmrm-video__media:focus-visible .tmrm-video__play { background: var(--p-gold); border-color: var(--p-gold); color: #0B0F17; transform: scale(1.08); }
.tmrm-video__media:focus-visible { outline: 3px solid var(--p-gold); outline-offset: -3px; }
.tmrm-video__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; }
.tmrm-video__body h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--p-text); }
.tmrm-video__body p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--p-muted); }
.tmrm-video__cat { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--p-gold); }
.tmrm-video__cat::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.tmrm-more { display: flex; justify-content: center; margin-top: 36px; }
.tmrm-more [hidden] { display: none; }

/* ---------- Carrousel ---------- */
.tmrm-carousel { max-width: 1200px; margin: 0 auto; }
.tmrm-carousel__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.tmrm-carousel__title { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--p-text); }
.tmrm-carousel__nav { display: flex; align-items: center; gap: 10px; }
.tmrm-carousel__all { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; font-size: 14px; font-weight: 600; color: var(--p-gold) !important; }
.tmrm-arrow {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--p-text);
	background: transparent;
	border: 1px solid var(--p-line);
	border-radius: 50%;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.tmrm-arrow:hover:not(:disabled) { background: var(--p-gold); border-color: var(--p-gold); color: #0B0F17; }
.tmrm-arrow:disabled { opacity: .35; cursor: default; }
.tmrm-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * 24px) / 3);
	gap: 24px;
	padding: 6px 2px 26px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.tmrm-carousel__track::-webkit-scrollbar { display: none; }
.tmrm-carousel__track > * { scroll-snap-align: start; }
.tmrm-carousel__track:focus-visible { outline: 2px solid var(--p-gold); outline-offset: 4px; border-radius: 12px; }

/* ---------- Candidature spontanée ---------- */
.tmrm-spont {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 56px;
	padding: 34px 38px;
	border: 1px solid rgba(200, 190, 138, .35);
	border-radius: 18px;
	background: linear-gradient(120deg, rgba(200, 190, 138, .12), rgba(200, 190, 138, .03));
}
.tmrm-spont h2 { margin: 0 0 6px; font-size: 24px; font-weight: 700; color: var(--p-text); }
.tmrm-spont p { margin: 0; font-size: 15px; color: var(--p-muted); }

/* ---------- Page d'une offre ---------- */
.tmrm-single { background: var(--p-bg); }
.tmrm-single__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tmrm-single__hero {
	padding: 70px 0 60px;
	border-bottom: 1px solid var(--p-line);
	background: radial-gradient(900px 400px at 80% 0%, rgba(200, 190, 138, .12), transparent 60%);
}
.tmrm-single__back { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--p-muted) !important; }
.tmrm-single__back:hover { color: var(--p-gold) !important; }
.tmrm-single__title { max-width: 860px; margin: 0 0 24px; font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; line-height: 1.08; letter-spacing: -1px; color: var(--p-text); }
.tmrm-single__facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.tmrm-single__facts li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--p-line); border-radius: 14px; color: var(--p-gold); }
.tmrm-single__facts span { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; color: var(--p-text); }
.tmrm-single__facts small { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--p-muted); }
.tmrm-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 60px; align-items: start; padding-top: 60px; padding-bottom: 100px; }
.tmrm-single__lead { margin: 0 0 30px; font-size: 20px; line-height: 1.55; color: var(--p-text); }
.tmrm-single__content h2 { margin: 0 0 16px; font-size: 26px; font-weight: 700; color: var(--p-text); }
.tmrm-single__text { font-size: 16px; line-height: 1.8; color: #C9CCD1; }
.tmrm-single__text p { margin: 0 0 16px; }
.tmrm-single__text ul { padding-left: 20px; }
.tmrm-single__text li { margin-bottom: 6px; }
.tmrm-single__text strong { color: #FFFFFF; }
.tmrm-single__poster { margin: 40px 0 0; max-width: 520px; }
.tmrm-single__poster img { width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(200, 190, 138, .45); }
.tmrm-single__aside { position: sticky; top: 110px; scroll-margin-top: 110px; }

/* Formulaire de candidature (carte claire, comme la popup CV) */
.tmrm-apply-card { padding: 34px 30px; background: #FFFFFF; border-radius: 20px; color: #0B0F17; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.tmrm-apply-card .tmrm-hero__eyebrow { margin-bottom: 10px; padding: 0; border: 0; background: none; color: var(--p-gold-d); letter-spacing: 1.6px; }
.tmrm-apply-card h2 { margin: 0 0 20px; font-size: 26px; font-weight: 700; color: #0B0F17; }
.tmrm-apply { display: flex; flex-direction: column; gap: 14px; }
.tmrm-apply label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: #0B0F17; }
.tmrm-apply label small { font-weight: 400; color: #6B7280; }
.tmrm-apply input[type="text"], .tmrm-apply input[type="email"], .tmrm-apply input[type="tel"], .tmrm-apply textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	color: #0B0F17;
	background: #FFFFFF;
	border: 1px solid #D9D5C7;
	border-radius: 12px;
}
.tmrm-apply textarea { min-height: 0; resize: vertical; }
.tmrm-apply input:focus, .tmrm-apply textarea:focus { outline: none; border-color: var(--p-gold-d); box-shadow: 0 0 0 3px rgba(200, 190, 138, .35); }
.tmrm-apply__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tmrm-apply__file input { padding: 12px; font-size: 13px; font-weight: 400; border: 1.5px dashed #D9D5C7; border-radius: 12px; background: #FAF9F4; }
.tmrm-apply__consent { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; line-height: 1.5; color: #5B6470 !important; }
.tmrm-apply__consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; accent-color: #0B0F17; }
.tmrm-apply__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tmrm-apply__error { margin: 0; padding: 12px 14px; font-size: 14px; color: #8A3622; background: #FBEDE9; border-radius: 10px; }
.tmrm-apply .tmrm-pub-btn--gold { margin-top: 6px; background: #0B0F17; color: var(--p-gold) !important; }
.tmrm-apply .tmrm-pub-btn--gold:hover { background: #1E222A; }
.tmrm-thanks { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 0; text-align: center; }
.tmrm-thanks__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--p-gold); color: #0B0F17; }
.tmrm-thanks h3 { margin: 8px 0 0; font-size: 22px; color: #0B0F17; }
.tmrm-thanks p { margin: 0; font-size: 15px; line-height: 1.6; color: #5B6470; }

/* ---------- Lecteur vidéo ---------- */
.tmrm-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 20px; }
.tmrm-modal[hidden] { display: none; }
.tmrm-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 7, 11, .85); backdrop-filter: blur(4px); animation: tmrm-fade .3s ease both; }
.tmrm-modal__box { position: relative; width: min(1100px, 100%); animation: tmrm-pop .45s cubic-bezier(.16, 1, .3, 1) both; }
.tmrm-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.tmrm-modal__frame iframe, .tmrm-modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tmrm-modal__close {
	position: absolute;
	top: -52px;
	right: 0;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #FFFFFF;
	background: rgba(255, 255, 255, .12);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.tmrm-modal__close:hover { background: #C8BE8A; color: #0B0F17; }
@keyframes tmrm-fade { from { opacity: 0; } }
@keyframes tmrm-pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
body.tmrm-no-scroll { overflow: hidden; }

/* Apparition douce des cartes au défilement */
.tmrm-js .tmrm-reveal { opacity: 0; translate: 0 26px; transition: opacity .8s cubic-bezier(.16, 1, .3, 1), translate .8s cubic-bezier(.16, 1, .3, 1); }
.tmrm-js .tmrm-reveal.is-in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
	.tmrm-offre, .tmrm-video, .tmrm-pub-btn, .tmrm-offre__media img, .tmrm-video__media img { transition: none; }
	.tmrm-js .tmrm-reveal { opacity: 1; translate: none; }
	.tmrm-modal__backdrop, .tmrm-modal__box { animation: none; }
	.tmrm-carousel__track { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.tmrm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.tmrm-carousel__track { grid-auto-columns: calc((100% - 20px) / 2.15); gap: 20px; }
	.tmrm-single__layout { grid-template-columns: 1fr; gap: 40px; }
	.tmrm-single__aside { position: static; }
}
@media (max-width: 767px) {
	.tmrm-hero { padding: 64px 16px 16px; }
	.tmrm-hero__text { font-size: 16px; }
	.tmrm-wrap { padding: 24px 16px 64px; }
	.tmrm-grid { grid-template-columns: 1fr; }
	.tmrm-toolbar { flex-direction: column; align-items: stretch; }
	.tmrm-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.tmrm-chips::-webkit-scrollbar { display: none; }
	.tmrm-chip { flex: 0 0 auto; }
	.tmrm-searchbox { margin: 0; }
	.tmrm-scope .tmrm-searchbox input { width: 100%; }
	.tmrm-carousel__track { grid-auto-columns: 84%; gap: 16px; }
	.tmrm-carousel__head { flex-wrap: wrap; }
	.tmrm-carousel__all { margin-right: auto; }
	.tmrm-spont { padding: 26px 22px; margin-top: 40px; }
	.tmrm-spont .tmrm-pub-btn { width: 100%; }
	.tmrm-single__hero { padding: 44px 0 40px; }
	.tmrm-single__facts li { flex: 1 1 100%; }
	.tmrm-single__layout { padding-top: 40px; padding-bottom: 64px; }
	.tmrm-apply-card { padding: 26px 20px; }
	.tmrm-apply__row { grid-template-columns: 1fr; }
	.tmrm-modal__close { top: -50px; }
}

/* ==========================================================
   Visuels de remplacement (offre ou vidéo sans image)
   ========================================================== */
.tmrm-poster {
	--pb: #0B0F17; --pf: #FFFFFF; --pa: #C8BE8A; --pm: rgba(255, 255, 255, .62); --pr: rgba(200, 190, 138, .28);
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 26px 26px 24px;
	overflow: hidden;
	text-align: left;
	color: var(--pf);
	background:
		radial-gradient(circle at 88% 12%, transparent 0 21%, var(--pr) 21.3% 21.6%, transparent 22% 33%, var(--pr) 33.3% 33.6%, transparent 34% 46%, var(--pr) 46.3% 46.6%, transparent 47%),
		radial-gradient(120% 90% at 100% 0%, rgba(200, 190, 138, .16), transparent 55%),
		var(--pb);
	font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}
.tmrm-poster--cream { --pb: #F4F1E6; --pf: #0B0F17; --pa: #8A7D3C; --pm: #5B6470; --pr: rgba(138, 125, 60, .22); }
.tmrm-poster--gold  { --pb: #C8BE8A; --pf: #0B0F17; --pa: #0B0F17; --pm: rgba(11, 15, 23, .66); --pr: rgba(11, 15, 23, .14); }
.tmrm-poster::after {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid var(--pr);
	border-radius: 10px;
	pointer-events: none;
}
.tmrm-poster__brand {
	position: relative;
	align-self: flex-start;
	padding: 6px 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 3px;
	border: 1px solid currentColor;
}
.tmrm-poster__spark { position: absolute; top: 58px; right: 34px; font-size: 18px; color: var(--pa); opacity: .9; }
.tmrm-poster__main { position: relative; display: flex; flex-direction: column; gap: 8px; }
.tmrm-poster__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; color: var(--pa); }
.tmrm-poster__title {
	font-size: clamp(22px, 2.3vw, 30px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.5px;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tmrm-poster__lieu {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--pm);
}
.tmrm-poster__lieu::before { content: ""; width: 22px; height: 1px; background: var(--pa); }
.tmrm-poster--big { padding: 40px; }
.tmrm-poster--big .tmrm-poster__brand { font-size: 13px; }
.tmrm-poster--big .tmrm-poster__title { font-size: clamp(30px, 4vw, 46px); }
.tmrm-poster--big .tmrm-poster__eyebrow { font-size: 14px; }
.tmrm-single__poster { position: relative; }
.tmrm-single__poster:has(.tmrm-poster) { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 1px solid rgba(200, 190, 138, .45); }
.tmrm-offre__media .tmrm-poster { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tmrm-offre:hover .tmrm-offre__media .tmrm-poster { transform: scale(1.03); }
/* Dans le tableau de bord (cartes plus petites) */
.tmrm-card__media .tmrm-poster { padding: 18px; }
.tmrm-card__media .tmrm-poster__title { font-size: 20px; }
.tmrm-card__media .tmrm-poster__spark { top: 46px; right: 26px; }
.tmrm-card__media .tmrm-poster::after { inset: 8px; }

.tmrm-vposter {
	--vb: #0B0F17; --vf: #FFFFFF; --va: #C8BE8A; --vr: rgba(200, 190, 138, .22);
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px 20px;
	text-align: left;
	color: var(--vf);
	background:
		radial-gradient(circle at 50% 50%, transparent 0 16%, var(--vr) 16.3% 16.6%, transparent 17% 27%, var(--vr) 27.3% 27.6%, transparent 28% 39%, var(--vr) 39.3% 39.6%, transparent 40% 52%, var(--vr) 52.3% 52.6%, transparent 53%),
		radial-gradient(90% 90% at 80% 10%, rgba(200, 190, 138, .18), transparent 60%),
		var(--vb);
	font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}
.tmrm-vposter--navy { --vb: #0F1E33; }
.tmrm-vposter--gold { --vb: #2A2618; --vr: rgba(200, 190, 138, .3); }
.tmrm-vposter__brand { font-size: 10.5px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; color: var(--va); }
.tmrm-vposter__title {
	max-width: 70%;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	color: rgba(255, 255, 255, .92);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tmrm-video__media .tmrm-vposter { transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tmrm-video:hover .tmrm-video__media .tmrm-vposter { transform: scale(1.04); }
/* Sur le visuel de remplacement, le titre est déjà sous la carte : on garde le lecteur au centre */
.tmrm-video__media:has(.tmrm-vposter)::after { background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .25)); }
.tmrm-video__media .tmrm-vposter__title { display: none; }
.tmrm-card__media--video .tmrm-vposter { padding: 14px 16px; }
.tmrm-offre__media:has(.tmrm-poster) .tmrm-offre__tag { top: auto; left: auto; right: 16px; bottom: 16px; }
.tmrm-single__poster:has(.tmrm-poster) { max-width: 440px; }

/* ==========================================================
   Protection contre les styles de boutons du thème / d'Elementor
   (bordure rouge de Hello, couleurs et majuscules du kit)
   ========================================================== */
.tmrm-scope button,
.tmrm-scope button:hover,
.tmrm-scope button:focus,
.tmrm-modal button,
.tmrm-modal button:hover,
.tmrm-modal button:focus {
	font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}
.tmrm-scope .tmrm-video__media,
.tmrm-scope .tmrm-video__media:hover,
.tmrm-scope .tmrm-video__media:focus {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #1E222A !important;
	color: inherit !important;
	outline-offset: -3px;
}
.tmrm-scope .tmrm-chip {
	padding: 9px 18px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--p-text) !important;
	background: var(--p-card) !important;
	border: 1px solid var(--p-line) !important;
	border-radius: 50px !important;
}
.tmrm-scope .tmrm-chip:hover { border-color: var(--p-gold) !important; }
.tmrm-scope .tmrm-chip.is-active {
	color: #0B0F17 !important;
	background: var(--p-gold) !important;
	border-color: var(--p-gold) !important;
	font-weight: 600 !important;
}
.tmrm-scope .tmrm-arrow {
	padding: 0 !important;
	color: var(--p-text) !important;
	background: transparent !important;
	border: 1px solid var(--p-line) !important;
	border-radius: 50% !important;
}
.tmrm-scope .tmrm-arrow:hover:not(:disabled) {
	color: #0B0F17 !important;
	background: var(--p-gold) !important;
	border-color: var(--p-gold) !important;
}
.tmrm-scope .tmrm-pub-btn { letter-spacing: .4px !important; text-transform: uppercase !important; }
.tmrm-scope button.tmrm-pub-btn--line {
	color: var(--p-text) !important;
	background: transparent !important;
	border: 1.5px solid var(--p-line) !important;
	border-radius: 50px !important;
	padding: 12px 24px !important;
}
.tmrm-scope button.tmrm-pub-btn--line:hover { color: var(--p-gold) !important; border-color: var(--p-gold) !important; }
.tmrm-scope .tmrm-apply button.tmrm-pub-btn {
	color: var(--p-gold) !important;
	background: #0B0F17 !important;
	border: 0 !important;
	border-radius: 50px !important;
	padding: 12px 24px !important;
}
.tmrm-modal .tmrm-modal__close,
.tmrm-modal .tmrm-modal__close:focus {
	padding: 0 !important;
	color: #FFFFFF !important;
	background: rgba(255, 255, 255, .12) !important;
	border: 0 !important;
	border-radius: 50% !important;
}
.tmrm-modal .tmrm-modal__close:hover { background: #C8BE8A !important; color: #0B0F17 !important; }

/* ==========================================================
   Cartes offre : visuel moins haut
   ========================================================== */
.tmrm-offre__media { aspect-ratio: 5 / 4; }
.tmrm-offre__media img { object-position: center top; }
.tmrm-offre__media .tmrm-poster { padding: 22px 22px 20px; }
.tmrm-offre__media .tmrm-poster::after { inset: 10px; }
.tmrm-offre__media .tmrm-poster__brand { font-size: 10px; padding: 5px 9px; }
.tmrm-offre__media .tmrm-poster__spark { top: 48px; right: 30px; font-size: 16px; }
.tmrm-offre__media .tmrm-poster__main { gap: 6px; }
.tmrm-offre__media .tmrm-poster__eyebrow { font-size: 11px; }
.tmrm-offre__media .tmrm-poster__title { font-size: clamp(19px, 1.75vw, 24px); -webkit-line-clamp: 3; }
.tmrm-offre__media .tmrm-poster__lieu { font-size: 11px; }

/* Podcasts : lecteur compact */
.tmrm-modal__frame.is-audio { aspect-ratio: auto; height: 232px; max-width: 720px; margin: 0 auto; background: #0B0F17; }
.tmrm-modal__frame.is-audio audio { position: absolute; left: 24px; right: 24px; top: 50%; width: calc(100% - 48px); height: 54px; transform: translateY(-50%); }
.tmrm-modal__box:has(.is-audio) { width: min(720px, 100%); }
.tmrm-video--audio .tmrm-video__play { padding-left: 0; }

/* ==========================================================
   Onglets (filtres) : défilement lisible sur mobile
   ========================================================== */
.tmrm-toolbar > * { min-width: 0; }
.tmrm-chips-wrap { position: relative; min-width: 0; max-width: 100%; }
.tmrm-scope .tmrm-chips-more { display: none; }
@media (max-width: 767px) {
	.tmrm-toolbar { gap: 14px; }
	.tmrm-chips-wrap { width: calc(100% + 32px); max-width: none; margin: 0 -16px; }
	.tmrm-chips { margin: 0 !important; padding: 2px 64px 6px 16px !important; scroll-snap-type: x proximity; scroll-padding: 0 16px; overscroll-behavior-x: contain; }
	.tmrm-chip { scroll-snap-align: start; }
	/* Dégradés sur les bords : il reste des onglets à voir */
	.tmrm-chips-wrap::before,
	.tmrm-chips-wrap::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 6px;
		z-index: 1;
		width: 56px;
		pointer-events: none;
		opacity: 0;
		transition: opacity .25s ease;
	}
	.tmrm-chips-wrap::before { left: 0; background: linear-gradient(90deg, var(--p-bg) 20%, transparent); }
	.tmrm-chips-wrap::after { right: 0; width: 88px; background: linear-gradient(270deg, var(--p-bg) 45%, transparent); }
	.tmrm-chips-wrap.is-scrollable:not(.is-start)::before { opacity: 1; }
	.tmrm-chips-wrap.is-scrollable:not(.is-end)::after { opacity: 1; }
	/* Flèche : suivant (et retour au début en bout de liste) */
	.tmrm-scope .tmrm-chips-more {
		position: absolute;
		top: 2px;
		right: 12px;
		z-index: 2;
		display: none;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0 !important;
		color: #0B0F17 !important;
		background: var(--p-gold) !important;
		border: 0 !important;
		border-radius: 50% !important;
		box-shadow: 0 6px 18px rgba(0, 0, 0, .35) !important;
		transition: transform .3s ease, opacity .25s ease;
	}
	.tmrm-chips-wrap.is-scrollable .tmrm-chips-more { display: grid; animation: tmrm-nudge 1.8s ease-in-out 1s 2; }
	.tmrm-chips-wrap.is-end .tmrm-chips-more { transform: rotate(180deg); animation: none; }
	/* Recherche : pleine largeur, sous les onglets */
	.tmrm-searchbox { width: 100%; }
}
@keyframes tmrm-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }
@media (prefers-reduced-motion: reduce) { .tmrm-chips-wrap.is-scrollable .tmrm-chips-more { animation: none; } }

/* Carrousels sur mobile : barre de progression sous les cartes */
.tmrm-carousel__progress { display: none; }
@media (max-width: 767px) {
	.tmrm-carousel__progress { display: block; position: relative; height: 3px; margin: 2px auto 0; width: 120px; background: var(--p-line); border-radius: 3px; overflow: hidden; }
	.tmrm-carousel__progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: var(--p-gold); border-radius: 3px; transition: left .15s linear; }
}

/* Bouton « Voir tout » sous un carrousel ou une grille d'aperçu */
.tmrm-more--cta { margin-top: 26px; }
.tmrm-more .tmrm-pub-btn--gold { padding: 14px 28px; }
@media (max-width: 767px) { .tmrm-more .tmrm-pub-btn { width: 100%; } }

/* ==========================================================
   Shorts YouTube : carrousel vertical (façon Reels) et lecteur vertical
   ========================================================== */
.tmrm-carousel--shorts .tmrm-carousel__track { grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; }
.tmrm-carousel--shorts .tmrm-video { border-radius: 18px; }
.tmrm-carousel--shorts .tmrm-video__media { aspect-ratio: 9 / 16; }
.tmrm-carousel--shorts .tmrm-video__media::after { background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .7)); }
.tmrm-carousel--shorts .tmrm-video__play { width: 54px; height: 54px; }
.tmrm-carousel--shorts .tmrm-video__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 16px 18px; pointer-events: none; }
.tmrm-carousel--shorts .tmrm-video { position: relative; }
.tmrm-carousel--shorts .tmrm-video__body h3 { font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.tmrm-carousel--shorts .tmrm-video__body p { display: none; }
.tmrm-carousel--shorts .tmrm-video__cat { margin-top: 2px; }
/* Pastille « Shorts » */
.tmrm-video--short .tmrm-video__media::before {
	content: "SHORTS";
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 9px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #0B0F17;
	background: var(--p-gold);
	border-radius: 50px;
}
@media (max-width: 1024px) { .tmrm-carousel--shorts .tmrm-carousel__track { grid-auto-columns: calc((100% - 2 * 16px) / 3.2); gap: 16px; } }
@media (max-width: 767px) { .tmrm-carousel--shorts .tmrm-carousel__track { grid-auto-columns: 62%; gap: 14px; } }

/* Lecteur vertical */
.tmrm-modal.is-vertical .tmrm-modal__box { width: auto; }
.tmrm-modal__frame.is-vertical { aspect-ratio: 9 / 16; height: min(84vh, 780px); width: auto; margin: 0 auto; }
.tmrm-modal.is-vertical .tmrm-modal__close { right: -56px; top: 0; }
@media (max-width: 767px) {
	.tmrm-modal__frame.is-vertical { height: auto; width: min(92vw, 420px); }
	.tmrm-modal.is-vertical .tmrm-modal__close { right: 0; top: -52px; }
}

/* ==========================================================
   Page Vidéos & Podcasts : les vidéos dès le début, Shorts en format vertical
   ========================================================== */
/* En-tête plus compact : on voit les vidéos tout de suite */
.tmrm-scope--dark > .tmrm-hero:has(+ .tmrm-wrap .tmrm-grid--videos) { padding: 56px 20px 0; }
.tmrm-hero:has(+ .tmrm-wrap .tmrm-grid--videos) .tmrm-hero__title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.tmrm-hero:has(+ .tmrm-wrap .tmrm-grid--videos) .tmrm-hero__text { font-size: 15px; max-width: 560px; margin-left: auto; margin-right: auto; }
.tmrm-hero + .tmrm-wrap:has(.tmrm-grid--videos) { padding-top: 22px; }

/* Grille : Shorts en vignettes verticales entières (image complète, pas recadrée en haut) */
.tmrm-grid--videos:has(.tmrm-video--short) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tmrm-grid--videos .tmrm-video--short { position: relative; border-radius: 18px; overflow: hidden; }
.tmrm-grid--videos .tmrm-video--short .tmrm-video__media { aspect-ratio: 9 / 16; }
.tmrm-grid--videos .tmrm-video--short .tmrm-video__media img { object-position: center center; }
.tmrm-grid--videos .tmrm-video--short .tmrm-video__media::after { background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .78)); }
.tmrm-grid--videos .tmrm-video--short .tmrm-video__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 16px 18px; pointer-events: none; background: none; }
.tmrm-grid--videos .tmrm-video--short .tmrm-video__body h3 { font-size: 15px; line-height: 1.35; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tmrm-grid--videos .tmrm-video--short .tmrm-video__body p { display: none; }
@media (max-width: 1024px) { .tmrm-grid--videos:has(.tmrm-video--short) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tmrm-grid--videos:has(.tmrm-video--short) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .tmrm-grid--videos .tmrm-video--short .tmrm-video__body h3 { font-size: 13px; } }

/* « Shorts » n'apparaît qu'une fois : la pastille sur l'image suffit */
.tmrm-video--short .tmrm-video__cat { display: none !important; }
