body
{
	background-image: url(https://tablette.epistemes-formation.fr/2026/L2C/IMG/Background_1.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	overflow: hidden;
	max-height: 100vh;
}

#btnResetLocalStorage {
	width: fit-content;
	max-width: 10vw;
	padding: 0.1em 0.5em;
	height: fit-content !important;
	position: absolute;
	right: 0.5em !important;
	z-index: 10;
}

#modalAmbassadeurs .modal-content 
{
	background-image: url(https://tablette.epistemes-formation.fr/2026/L2C/IMG/Background_1.png);
	background-size: cover;
}

.row 
{
	margin-bottom: 0;
}

.return-module-toast-content
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	flex-direction: column;
}

.return-module-toast-message
{
	flex: 1 1 auto;
}

.return-module-toast-actions
{
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.return-module-toast-actions .toast-action
{
	margin: 0 !important;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.return-module-toast-actions .toast-close-action
{
	color: #ffffff !important;
	display: flex;
	align-items: center;
}

@media screen and (max-width: 600px)
{
	.return-module-toast-content
	{
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.return-module-toast-actions
	{
		justify-content: center;
		flex-wrap: wrap;
	}
}

.ligne_menu 
{
	margin-top: 1em;
}

#l2c-splashscreen {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: #111111;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.6s ease, visibility 0.6s ease;
}

#l2c-splashscreen.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.l2c-splash-bg {
	position: absolute;
	inset: 0;
	background-color: #111111;
}

.l2c-splash-noise {
	position: absolute;
	inset: 0;
	background-image: url("https://tablette.epistemes-formation.fr/2026/L2C/IMG/Background_1.png");
	background-repeat: no-repeat;
	/*background-position: center;*/
	background-size: cover;
	filter: brightness(75%);
	opacity: 0;
	transition: opacity 0.25s ease;
}

#l2c-splashscreen.background-loaded .l2c-splash-noise {
	opacity: 1;
}

.l2c-splash-shell {
	position: relative;
	z-index: 2;
	width: 100vw;
	height: 100vh !important;
}

/* =========================================================
	PARTENAIRES ET MENTION DE FINANCEMENT DU SPLASHSCREEN
	========================================================= */

.l2c-splash-partners {
	position: relative;
	z-index: 2;
	width: min(1420px, 92vw);
	margin: 0 auto 1rem;
}

.l2c-splash-partners-title {
	margin: 0 0 0.7rem;
	color: #ffffff;
	font-size: clamp(0.9rem, 1.3vw, 1.1rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.l2c-splash-partners-grid {
	display: flex;
	align-items: center;
	align-items: center;
	gap: 0.8rem;
	border: 2px solid rgba(255, 255, 255, 1);
	border-radius: 0.5em;
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

.l2c-splash-UE {
	display: flex;
	justify-content: center;
	width: min(620px, 80vw);
	margin: 0.9rem auto 0;
}

.l2c-splash-eu-card {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	align-items: center;
	gap: 1.25rem;
	width: 85%;
	/*min-height: 96px;*/
	padding: 0.9rem 1.25rem;
	box-sizing: border-box;
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
	color: #111111;
}

.l2c-splash-eu-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.l2c-splash-eu-logo img {
	display: block;
	width: 100%;
	max-width: 145px;
	height: 70px;
	object-fit: contain;
}

.l2c-splash-eu-text {
	display: block;
	min-width: 0;
	font-size: clamp(1rem, 1.7vw, 1.45rem);
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.l2c-splash-partner-logo 
{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 105px;
	padding: 0.65rem;
	width: fit-content;
	/*border: 2px solid rgba(255, 255, 255, 1);
	border-radius: 0.5em;
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);*/
	overflow: hidden;
}

.l2c-splash-partner-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.l2c-partner-embuild img {
	max-width: 130px;
}

.l2c-partner-imanovation img {
	max-width: 180px;
}

.l2c-partner-cpeons img {
	max-width: 125px;
}

.l2c-partner-entescuola img {
	max-width: 150px;
}

.l2c-partner-tudublin img {
	max-width: 180px;
}

.l2c-splash-funding-notice {
	position: relative;
	z-index: 2;
	width: min(1050px, 90vw);
	margin: 0 auto 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.52);
	color: rgba(255, 255, 255, 0.96);
	font-size: clamp(0.72rem, 1vw, 0.9rem);
	font-weight: 500;
	line-height: 1.45;
	text-align: center;
}

.l2c-splash-card {
	position: relative;
	padding: 1rem 2rem;
	backdrop-filter: saturate(1.5);
	-webkit-backdrop-filter: saturate(1.5) !important;
	color: #ffffff;
	text-align: center;
	overflow: hidden;
	animation: splashCardIn 0.85s cubic-bezier(.2, .8, .2, 1);
	height: 100vh;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.l2c-splash-glow {
	position: absolute;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	filter: blur(55px);
	opacity: 0.35;
	pointer-events: none;
}

.l2c-splash-glow-left {
	background: rgba(245, 229, 18, 0.55);
	top: -60px;
	left: -70px;
}

.l2c-splash-glow-right {
	background: rgba(0, 148, 38, 0.45);
	bottom: -70px;
	right: -70px;
}

.l2c-splash-brand 
{
	display: flex;
	justify-content: center;
	margin-bottom: 0.4rem;
	transform: scale(1.2);
}

.l2c-splash-logo {
	width: min(150px, 32vw);
	height: auto;
	padding: 0.35rem;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
	/*animation: splashLogoFloat 1.5s ease-in-out infinite;*/
	box-shadow: inset 0 15em #ffffff;
	border-radius: 0.5em;
}


.l2c-splash-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45em 0.9em;
	border-radius: 999px;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.16);
	font-size: 0.92em;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 1.1em;
}

.l2c-splash-title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.5rem, 3vw, 2.3rem);
	font-weight: 800;
	line-height: 1.05;
	color: #ffffff;
	text-wrap: balance;
}

.l2c-splash-description {
	margin: 0 auto 1.2em auto;
	max-width: 620px;
	font-size: clamp(1rem, 2vw, 1.12rem);
	line-height: 1.65;
	color: rgba(255,255,255,0.92);
}

.l2c-splash-features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7em;
	margin-bottom: 1.5em;
}

.l2c-splash-features span {
	padding: 0.5em 0.9em;
	border-radius: 999px;
	background: rgba(17,17,17,0.35);
	border: 1px solid rgba(255,255,255,0.1);
	font-size: 0.95em;
	color: #ffffff;
}

.l2c-splash-actions {
	display: flex;
	justify-content: center;
	gap: 1em;
}

.l2c-splash-enter {
	border: none;
	border-radius: 16px;
	padding: 0.9em 1.6em;
	font-size: 1.2rem;
	font-weight: 800;
	color: #ffffff;
	background: linear-gradient(180deg, #ffb254 0%, #ef8e1e 50%, #874602 100%) !important;
	box-shadow: 0 12px 28px rgba(0,0,0,0.28);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

button.l2c-splash-enter.QR_code 
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.2em;
}

.l2c-splash-enter:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 18px 30px rgba(0,0,0,0.32);
	filter: brightness(1.03);
}

.l2c-splash-enter:focus {
	outline: none;
	background: linear-gradient(180deg, #f5e512 0%, #ef8e1e 100%);
}

@keyframes splashCardIn {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes splashLogoFloat {
	0% { transform: translateY(0px) scale(1); }
	50% { transform: translateY(-6px) scale(1.05); }
	100% { transform: translateY(0px) scale(1); }
}


/* =========================================================
	SÉLECTION DE LA LANGUE DU SPLASHSCREEN
	========================================================= */

.l2c-splash-language-selector {
	position: relative;
	z-index: 2;

	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;

	width: 100%;
	margin: 4px 0 10px;
	padding: 0;
}

.l2c-splash-language-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;

	min-width: 105px;
	min-height: 40px;
	padding: 7px 12px;

	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 22px;

	background: rgba(20, 22, 21, 0.58);
	color: #fff;

	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;

	cursor: pointer;

	box-shadow:
		0 4px 12px rgba(0, 0, 0, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);

	transition:
		transform 160ms ease,
		background-color 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.l2c-splash-language-btn img {
	display: block;
	width: 28px;
	height: 19px;

	object-fit: cover;
	border-radius: 3px;

	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.l2c-splash-language-btn:hover {
	transform: translateY(-2px);

	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.45);

	box-shadow:
		0 7px 16px rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.l2c-splash-language-btn:focus-visible {
	outline: 3px solid rgba(255, 174, 0, 0.75);
	outline-offset: 3px;
}

.l2c-splash-language-btn.is-active {
	background: linear-gradient(
		135deg,
		rgba(49, 171, 82, 0.95),
		rgba(31, 130, 65, 0.95)
	);

	border-color: rgba(255, 255, 255, 0.8);

	box-shadow:
		0 0 0 2px rgba(255, 255, 255, 0.16),
		0 7px 18px rgba(0, 0, 0, 0.28);
}

.l2c-splash-language-btn.is-active::after {
	/*content: "✓";*/

	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 17px;
	height: 17px;

	border-radius: 50%;
	background: #fff;
	color: #239046;

	font-size: 11px;
	font-weight: 900;
}


.menu_carrousel
{
	display: flex;
	gap: 1em;
	margin-left: 1em !important;
	justify-content: center;
}

.btn_menu 
{
	display: flex;
	justify-content: center;
	align-items: center;
	justify-content: space-evenly;
	transition: 0.25s;
	background-color: #111111 !important;
	color: #fbee00 !important;
	height: 3em !important;
}

.btn_menu:hover {
	transform: scale(1.02);
	transition: 0.15s;
	background: linear-gradient(180deg, rgb(255 173 99) 0%, rgb(238 140 29) 60%, rgb(196 106 26) 100%);
}

.logo_bouton
{
	/*margin-left: -2em;*/
}

i.large 
{
	font-size: 4rem;
}

/*#language-dropdown
{
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 15em !important;
	max-width: 90%;
	padding: 0;
	height: fit-content !important;
}*/

/* Menu des langues : position calculée par Materialize */
#language-dropdown
{
    position: fixed !important;

    width: 220px !important;
    max-width: calc(100vw - 24px) !important;

    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;

    /* Le positionnement sera calculé en JavaScript */
    transform: none !important;

    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}


/* Prioritaire sur les règles générales de header.css */
body.l2c-formation-page #language-dropdown
{
    min-width: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Zones suffisamment grandes pour une utilisation tactile */
#language-dropdown > li
{
    min-height: 48px;
}

#language-dropdown > li > a,
#language-dropdown > li > span
{
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 48px;
    padding: 12px 16px;
    box-sizing: border-box;

    white-space: normal;
    overflow-wrap: anywhere;
}

/* Mobile */
@media screen and (max-width: 600px)
{
    #language-dropdown
    {
        width: 200px !important;
    }
}

#globalImageEl 
{
	height: 75vh !important;
}

.medium 
{
	font-size: 3rem !important;
}

.toast-action 
{
	color: #ffffff !important;
	font-weight: 500 !important;
	font-size: 1em;
	margin-right: 0 !important;
	margin-left: 0 !important;
	background-color: #4e8f33;
	border: 2px solid #ffffff;
	display: flex;
	align-items: center;
}

.toast-action:hover 
{
	background-color: #ffffff;
	color: #4e8f33 !important;
	border: 2px solid #4e8f33;
}

.toast-actions-row {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.toast-actions-row .toast-action {
	font-weight: 800;
}

.toast_warning 
{
	background: #f59e0b !important;
	color: #111 !important;
	font-weight: 700;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 12px;
}

.carousel3d 
{
	width:100%; height:100%;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.5s;
	margin-top: -10em;
	pointer-events: none;
}

.carousel-cell 
{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 180px;
	height: 160px;
	margin: -50px 0 0 -75px;
	/*background: linear-gradient(135deg, rgba(0, 16, 35, 1) 0%, rgba(0, 63, 112, 1) 65%, rgb(45 119 177) 80%, rgba(63, 196, 245, 1) 100%);*/
	background-blend-mode: overlay;
	border: 4px solid #ffffff;
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	pointer-events: auto;
	cursor: pointer;
	text-align: center;
	transition: box-shadow .3s;

}

.module-completed-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 20;
	width: 5em;
	height: 5em;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.72);
	border: 2px solid #8dff8d;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	box-shadow: 0 0 14px rgba(141, 255, 141, 0.65);
}

.module-completed-badge i {
	color: #8dff8d;
	font-size: 5em;
}

.carousel-cell a 
{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	color: #000;
	/*background-color: rgb(0 0 0 / 15%) !important;*/
	position: absolute;
	bottom: 0;
}
.carousel-cell a:hover 
{
	text-decoration: underline;
	color: #000 !important;
	background-color: rgb(255 255 255 / 0%) !important;
}

.title_cell 
{
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.text_title_cell
{
	background-color: #000000bf;
	color: #ffffff;
	width: 100%;
	margin-bottom: 0;
	padding: 0.05em;
	font-size: 0.9em;
}

.module-link.disabled 
{
	opacity: 0.4;
	pointer-events: none;
}

.module-link 
{
	display: flex;
	align-items: center;
	text-decoration: none;
	gap: 0.5em;
	font-size: 1.2em;
	background-color: #ffffff;
	padding: 0.1em 0.5em;
	border-radius: 0.3em;
	margin-bottom: 0.2em;
	justify-content: center;
}
.module-link .material-icons 
{
	font-size: 1rem;
	margin-right: 0.25rem;
}

.carousel-cell
{
	opacity: 0.4;                /* toutes les cellules sont translucides */
	transition: opacity 0.5s, transform 0.5s;
	will-change: transform;
	transform-style: preserve-3d;
	cursor: auto !important;
}

/* la cellule active */
.carousel-cell.active 
{
	opacity: 1;                   /* pleine opacité */
	transform: scale(1.15);       /* ou un léger zoom */
	z-index: 2;                   /* au-dessus des autres */
	box-shadow: 0 0 2em rgb(29 65 28);
	transition: 0.25s;
	border: 4px solid #e98c27;
}

.carousel-cell.active:hover
{
	box-shadow: 0 0 2em rgb(255 255 255 / 100%);
	transition: 0.25s;
}


.collapsible-body 
{
	background-color: #00000080;
	padding: 1em;
}

i.material-icons.left 
{
	font-size: larger;
}

.btn_style
{
	
}

.btn_style-left {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-size: 2.5em;
	color: #ffffff;
	padding: 0.3em;
	cursor: pointer;
	transition: 0.25s;
	font-weight: 600;
	border: none;
	background: linear-gradient(90deg, rgb(34 77 33) 0%, rgb(73 136 52) 60%, rgb(78 143 51) 100%);
	border-top-right-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
	width: 20vw;
	justify-content: space-around;
}

.btn_style-right
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-size: 2.5em;
	color: #ffffff;
	padding: 0.3em;
	cursor: pointer;
	transition: 0.25s;
	font-weight: 600;
	border: none;
	background: linear-gradient(90deg, rgb(34 77 33) 0%, rgb(73 136 52) 60%, rgb(78 143 51) 100%);
	border-top-left-radius: 0.5em;
	border-bottom-left-radius: 0.5em;
	width: 20vw;
	justify-content: space-around;
}

.btn_style:hover
{
	transition: 0.25s;
	border-color: #213a73;
	color: #213a73;
	background-color: white;
}

.btn_style-left:hover 
{
	background: linear-gradient(90deg, rgb(63 63 63) 0%, rgb(51 51 51) 60%, rgb(21 21 21) 100%);
	transition: 0.15s;
	color: white;
}
.btn_style-right:hover 
{
	background: linear-gradient(90deg, rgb(63 63 63) 0%, rgb(51 51 51) 60%, rgb(21 21 21) 100%);
	transition: 0.15s;
	color: white;
}

.contour_chevron 
{
	background-color: transparent;
	color: #ffffff;
	border-radius: 1em;
	width: 1.2em;
	height: 1.2em;
	display: flex;
	align-items: center;
	justify-content: center;
	border: solid;
}

.btn_style-right:hover .contour_chevron 
{
	background-color: white;
	color: grey;
	border: solid grey;
}

.btn_style-left:hover .contour_chevron 
{
	background-color: white;
	color: grey;
	border: solid grey;
}

.contour_chevron .material-icons
{
	transform: scale(1.8);
}

button:focus 
{
	outline: none;
	background-color: #213a73;
}

/* ________________________________________________ LES ETATS DES CELLULES DU CARROUSEL ________________________________________________ */
.carousel-cell.disable
{
	background: linear-gradient(135deg, rgb(31 31 31) 0%, rgb(116 116 116) 65%, rgb(185 185 185) 80%, rgb(243 243 243) 100%);
}

.carousel-cell.soon
{
	border: 2px solid rgb(0 0 0);
}

.carousel-cell.finished
{
	/*background: linear-gradient(135deg, rgb(3 35 0) 0%, rgb(8 112 0) 65%, rgb(45 177 52) 80%, rgb(69 245 63) 100%);*/
	border: 2px solid rgb(45 177 52);
}
.carousel-cell.failed
{
	background: linear-gradient(135deg, rgb(35 0 0) 0%, rgb(150 0 0) 65%, rgb(177 45 45) 80%, rgb(245 63 63) 100%);
	border: 4px solid #ea8080;
}
/* ________________________________________________ LES ETATS DES CELLULES DU CARROUSEL ________________________________________________ */

h5.bloc_titles 
{
	color: white;
	display: flex;
	justify-content: center;
	margin: 0.5em 0em 0.5em 0em;
}

#toast-container 
{
	top: 10%;
	right: 16%;
	max-width: 68%;
	width: -webkit-fill-available;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	height: fit-content;
}

.toast 
{
	width: auto;
	max-width: 70%;
	display: flex;
	justify-content: center;
	background: white;
	font-size: 1.5em;
	border-radius: 1em;
	font-weight: 600;
	flex-direction: column;
	color: #002041;
	border: 4px solid #4e8f33;
}

.frise_modules 
{
	display: flex;
	justify-content: center;
	/*position: absolute;*/
}

.container_frise 
{
	display: flex;
	width: fit-content;
	max-width: 100%;
	padding: 0.5em 0.5em;
	border-radius: 1em;
	margin-top: 0em;
	overflow: auto;
	background-color: #003a6c52;
	backdrop-filter: blur(5px);
	border: solid 1px #007dc7;
}

.breadcrumb 
{
	font-size: 1.5em;
	color: rgb(0 0 0);
	vertical-align: middle;
	display: flex;
	align-items: center;
	line-height: normal;
	padding: 0.2em 0em;
}

.breadcrumb:last-child 
{
	color: #ffffff;
	vertical-align: middle;
}

.breadcrumb:before 
{
	color: rgb(255 255 255);
	margin: 0.2em 0.2em 0em 0.2em;
}

.Failed_Module 
{
	color: #ed3d3d !important;
	font-weight: 700;
	cursor: pointer;
}

.Success_Module
{
	color: #30b935 !important;
	font-weight: 700;
	cursor: pointer;
}

.First_Neutral_Module 
{
	color: #3ebef0;
	font-weight: 700;
	cursor: pointer;
}

.Neutral_Module
{
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}


.l2c-data-modal 
{
	width: 100%;
	max-height: 100%;
	border-radius: 0px;
}

.l2c-modal-toolbar 
{
	margin-bottom: 1.2em;
}

.l2c-detail-card 
{
	background: rgba(255,255,255,0.95);
	border-radius: 18px;
	padding: 1.2em;
	box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.l2c-detail-top 
{
	display: flex;
	gap: 1.2em;
	align-items: flex-start;
	margin-bottom: 1em;
	flex-wrap: wrap;
}

.l2c-avatar 
{
	width: 300px;
	height: auto;
	object-fit: contain;
	border-radius: 16px;
	border: 4px solid #79b247;
}

.l2c-detail-card p 
{
	color: green;
}

.l2c-bp-list 
{
	margin-top: 0.6em;
	padding-left: 1.2em;
}

.l2c-bp-list li 
{
	margin-bottom: 0.8em;
	line-height: 1.4;
}

.l2c-microcredit-card
{
	background: rgba(255, 255, 255, 0.96);
	border-radius: 16px;
	padding: 1em;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border-left: 6px solid #ef8e1e;
	border-bottom: 6px solid #a65a05;
	color: black;
}

.l2c-microcredit-card p 
{
	background: rgba(255, 255, 255, 0.96);
	border-radius: 16px;
	padding: 1em;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border-left: 4px solid #cacaca;
	border-bottom: 4px solid #5f5f5f;
	color: black;
}

.l2c-detail-card 
{
	background: rgba(255, 255, 255, 0.95);
	border-radius: 18px;
	padding: 1.2em;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	color: black;
}

.l2c-ambassadeur, .l2c-ambassadeur p
{
	color: black;
}

.l2c-detail-section p
{
	margin-top: 1em;
	color: black !important;
}

.l2c-detail-section h6 
{
	color: green;
	font-weight: 700;
}

.l2c-video-wrap,
.l2c-map-wrap 
{
	margin-top: 1em;
	border-radius: 14px;
	overflow: hidden;
}

.l2c-microcredits-grid 
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1em;
}

.l2c-microcredit-card 
{
	background: rgba(255,255,255,0.96);
	border-radius: 16px;
	padding: 1em;
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
	border-left: 6px solid #ef8e1e;
	border-bottom: 6px solid #a65a05;
}


/* ===================== CONTACTS MODAL ===================== */

.l2c-contacts-modal .modal-content {
	padding: 1.4em;
	height: 100vh !important;
}

.l2c-contacts-header 
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	margin-bottom: 1.2em;
	padding: 0em 3em;
}

.l2c-contacts-header h4 {
	margin: 0;
	color: #000000;
	font-weight: 800;
}

.l2c-contacts-header p {
	margin: 0.35em 0 0 0;
	color: #000000;
}

.l2c-contacts-search-wrap {
	min-width: 280px;
}

.l2c-contacts-search {
	width: 100%;
	border: 2px solid #000000;
	border-radius: 999px;
	padding: 0.8em 1.1em;
	background: #fff;
	color: #111;
	box-shadow: 3px 3px 6px 2px rgb(0 0 0 / 40%);
}

.l2c-contacts-title 
{
	background: rgb(255 255 255 / 80%);
	padding: 0.8em;
	box-shadow: 3px 3px 6px 2px rgb(0 0 0 / 40%);
	border-radius: 1em;
}

#modalContactMail .modal-content 
{
	color: black;
	background-color: white;
	height: fit-content;
}

#modalContactMail 
{
	width: 50vw;
	height: max-content;
	max-height: 80% !important;
}

/* ===================== PDF MAIL MODAL ===================== */

#modalPdfMail 
{
	width: 60vw;
	top: 5% !important;
	max-height: 90% !important;
	border-radius: 18px;
	position: fixed;
}

#modalPdfMail .modal-content 
{
	background: #ffffff;
	color: #111111;
	padding: 1.4em;
	/*height: 90vh;*/
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.l2c-pdf-mail-subtitle {
	margin: 0.35em 0 0 0;
	color: #555555;
	font-weight: 500;
}

.l2c-pdf-mail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 0.2em 0.5em;
}

.l2c-pdf-contact-field {
	position: relative;
}

/* Select Materialize du point contact PDF.
	La classe pdf-contact-select-wrapper est ajoutée dans formation.js après M.FormSelect.init(select). */
.pdf-contact-select-wrapper {
	width: 100% !important;
	position: relative !important;
}

.pdf-contact-select-wrapper input.select-dropdown 
{
	height: 46px !important;
	line-height: 46px !important;
	padding: 0 2.5rem !important;
	box-sizing: border-box !important;
	border: none !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.35) !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	color: #174617 !important;
	font-weight: 800 !important;
	margin: 0 !important;

	text-align: center !important;
}

.pdf-contact-select-wrapper input.select-dropdown:focus {
	border-bottom: 2px solid #214d21 !important;
	box-shadow: none !important;
}

.pdf-contact-select-wrapper .caret {
	top: 50% !important;
	transform: translateY(-50%) !important;
	fill: #174617 !important;
}

.pdf-contact-select-wrapper .dropdown-content.select-dropdown {
	max-height: 300px !important;
	overflow-y: auto !important;
	background: #ffffff !important;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25) !important;
}

.pdf-contact-select-wrapper .dropdown-content.select-dropdown li {
	position: relative !important;
	min-height: 52px !important;
	height: 52px !important;
	line-height: 52px !important;
	display: block !important;
}

.pdf-contact-select-wrapper .dropdown-content.select-dropdown li > span {
	display: block !important;
	height: 52px !important;
	line-height: 52px !important;
	padding: 0 56px 0 12px !important;
	box-sizing: border-box !important;
	color: #174617 !important;
	font-weight: 800 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.pdf-contact-select-wrapper .dropdown-content.select-dropdown li img {
	position: absolute !important;
	right: 12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 28px !important;
	height: 20px !important;
	margin: 0 !important;
	object-fit: cover !important;
	border-radius: 3px !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
}

.pdf-contact-select-wrapper .dropdown-content.select-dropdown li:hover,
.pdf-contact-select-wrapper .dropdown-content.select-dropdown li.selected {
	background: rgba(34, 77, 33, 0.08) !important;
}

.pdf-contact-select-wrapper .dropdown-content.select-dropdown li.disabled,
.pdf-contact-select-wrapper .dropdown-content.select-dropdown li.disabled:hover {
	pointer-events: none !important;
	cursor: default !important;
	background: #f2f2f2 !important;
}

.pdf-contact-select-wrapper .dropdown-content.select-dropdown li.disabled > span,
.pdf-contact-select-wrapper .dropdown-content.select-dropdown li.disabled:hover > span {
	color: rgba(23, 70, 23, 0.45) !important;
	font-style: italic !important;
}

.l2c-selected-contact-preview {
	margin-top: 0.45rem;
}

.l2c-selected-contact-card {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 0.75rem;
	border-radius: 12px;
	background: rgba(25, 80, 25, 0.08);
	border: 1px solid rgba(25, 80, 25, 0.18);
}

.l2c-selected-contact-flag {
	width: 34px;
	height: 24px;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.l2c-selected-contact-card strong {
	display: block;
	color: #174617;
	font-weight: 900;
}

.l2c-selected-contact-card span {
	display: block;
	color: #333333;
	font-size: 0.9rem;
}

.l2c-pdf-preview-box {
	display: flex;
	align-items: center;
	gap: 1em;
	margin-top: 1em;
	padding: 1em;
	border-radius: 16px;
	background: rgba(34, 77, 33, 0.08);
	border-left: 4px solid #ef8e1e;
	border-bottom: 4px solid #a65a05;
	color: #111111;
}

.l2c-pdf-preview-box i {
	font-size: 2.8rem;
	color: #b00020;
}

.l2c-pdf-preview-box strong {
	display: block;
	color: #214d21;
	font-weight: 800;
	margin-bottom: 0.2em;
}

.l2c-pdf-preview-box span {
	display: block;
	color: #555555;
}


/* ===================== MAIL CONTACT MODAL ===================== */

.l2c-mail-modal {
	width: min(760px, 94vw);
	border-radius: 18px;
}

.l2c-mail-modal .modal-content {
	background: #ffffff;
	color: #111111;
	padding: 1.4em;
}

.l2c-mail-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	margin-bottom: 1.2em;
}

.l2c-mail-header h4 {
	margin: 0;
	color: #214d21;
	font-weight: 800;
}

.l2c-mail-field {
	margin-bottom: 0em;
}

.l2c-mail-field label {
	display: block;
	color: #214d21;
	font-weight: 700;
	margin-bottom: 0em;
}

.l2c-mail-field input,
.l2c-mail-field textarea {
	width: 100%;
	border: 1px solid #d8d8d8;
	border-radius: 14px;
	padding: 0.8em 1em;
	background: #ffffff;
	color: #111111;
	box-sizing: border-box;
}

.l2c-mail-field textarea {
	min-height: 180px;
	resize: vertical;
	font-family: inherit;
}

.l2c-mail-field input[readonly]:not(.select-dropdown)
{
	background: #f1f1f1;
	color: #555555;
	position: static;
	text-align: center;
}

.l2c-mail-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0.8em;
	margin-top: 1.2em;
}

.l2c-send-mail-btn {
	background: linear-gradient(90deg, #224d21 0%, #4c8b34 100%) !important;
	color: #ffffff !important;
	border-radius: 999px;
	font-weight: 700;
}

.l2c-mail-status {
	margin-top: 0em;
	font-weight: 700;
	color: #555555;
}

.l2c-mail-status.success {
	color: #1d7f32;
}

.l2c-mail-status.error {
	color: #b00020;
}

.l2c-mail-header 
{
	display: flex;
	justify-content: space-between;
}

i.material-icons.cancel_icon
{
	background-color: white;
	border-radius: 1em;
	color: red;
	font-size: 3.2rem;
	width: 3.1rem;
	height: 3.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

a.modal-close.btn-flat 
{
	height: 3.1rem;
	width: 3.1rem;
}

.l2c-contacts-layout {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 1.2em;
	height: calc(96vh - 190px);
	min-height: 480px;
}

.l2c-contacts-list {
	overflow-y: auto;
	border-radius: 18px;
	background: rgba(255,255,255,0.72);
	padding: 0.8em;
	box-shadow: 3px 3px 6px 2px rgb(0 0 0 / 40%);
}

.l2c-contact-list-item {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.8em;
	border: none;
	border-radius: 16px;
	padding: 0.8em;
	margin-bottom: 0.6em;
	background: #ffffff;
	color: #111;
	text-align: left;
	cursor: pointer;
	transition: 0.2s;
	box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.l2c-contact-list-item:hover,
.l2c-contact-list-item.active {
	background: linear-gradient(90deg, #224d21 0%, #4c8b34 100%);
	color: #ffffff;
	transform: translateY(-1px);
}

.l2c-contact-list-item.active small,
.l2c-contact-list-item.active span,
.l2c-contact-list-item:hover small,
.l2c-contact-list-item:hover span {
	color: rgba(255,255,255,0.86);
}

.l2c-contact-mini-avatar {
	width: 54px;
	height: 54px;
	min-width: 54px;
	border-radius: 50%;
	overflow: hidden;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #111;
	font-weight: 800;
}

.l2c-contact-mini-avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.l2c-contact-list-text {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
	min-width: 0;
}

.l2c-contact-list-text strong {
	font-size: 1em;
}

.l2c-contact-list-text span,
.l2c-contact-list-text small {
	color: #555;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.l2c-contact-content 
{
	overflow-y: auto;
	box-shadow: 3px 3px 6px 2px rgb(0 0 0 / 40%);
	border-radius: 1.5em;
}

.l2c-contact-card {
	background: rgba(255,255,255,0.96);
	border-radius: 22px;
	padding: 1.4em;
	box-shadow: 0 14px 34px rgba(0,0,0,0.14);
	color: #111;
	min-height: 100%;
}

.l2c-contact-card-top {
	display: flex;
	gap: 1.2em;
	align-items: center;
	padding-bottom: 1.2em;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.l2c-contact-avatar {
	width: 150px;
	height: 150px;
	min-width: 150px;
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #111;
	font-size: 2.4em;
	font-weight: 900;
	box-shadow: 0 10px 24px rgba(0,0,0,0.5);
}

.l2c-contact-avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.1em;
}

.l2c-contact-identity h5 {
	margin: 0 0 0.3em 0;
	font-size: 2em;
	font-weight: 800;
	color: #214d21;
}

.l2c-contact-organisation {
	font-size: 1.2em;
	font-weight: 700;
	color: #111 !important;
	margin: 0.2em 0;
}

.l2c-contact-location {
	color: #555 !important;
	margin: 0.2em 0;
}

.l2c-contact-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 1em;
	margin-top: 1.3em;
}

.l2c-contact-info-box {
	background: #ffffff;
	border-radius: 16px;
	padding: 1em;
	border-left: 2px solid #ef8e1e;
	border-bottom: 2px solid #ef8e1e;
}

.l2c-contact-info-box span {
	display: block;
	font-size: 0.85em;
	color: #666;
	margin-bottom: 0.3em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.l2c-contact-info-box strong,
.l2c-contact-info-box a {
	color: #111;
	font-weight: 700;
	word-break: break-word;
}

.l2c-contact-description {
	margin-top: 1.4em;
	background: #ffffff;
	border-radius: 16px;
	padding: 1em;
	border: 1px solid rgba(0,0,0,0.08);
}

.l2c-contact-description h6 {
	margin-top: 0;
	color: #214d21;
	font-weight: 800;
}

.l2c-contact-description p {
	color: #111 !important;
	line-height: 1.6;
}

.l2c-contact-actions {
	margin-top: 1.2em;
}

.l2c-contact-mail-btn {
	background: linear-gradient(90deg, #224d21 0%, #4c8b34 100%) !important;
	color: #fff !important;
	border-radius: 999px;
	font-weight: 700;
}

.l2c-contact-empty,
.l2c-contact-empty-list {
	background: rgba(255,255,255,0.8);
	border-radius: 16px;
	padding: 1em;
	color: #333;
	text-align: center;
}

/* =========================================================
	SELECT POINT CONTACT PDF - VERSION FORCÉE
	========================================================= */

#modalPdfMail input.pdf-contact-select-input {
	height: 46px !important;
	line-height: 46px !important;
	padding: 0 3.4rem 0 3.4rem !important;
	margin: 0 !important;
	box-sizing: border-box !important;

	text-align: center !important;

	color: #174617 !important;
	font-weight: 800 !important;

	background: #ffffff !important;
	border: none !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.35) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

#modalPdfMail input.pdf-contact-select-input:focus {
	border-bottom: 2px solid #214d21 !important;
	box-shadow: none !important;
}

#modalPdfMail .pdf-contact-select-wrapper .caret 
{
	right: 10px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	fill: #174617 !important;
}

#modalPdfMail ul.pdf-contact-select-dropdown {
	background: #ffffff !important;
	max-height: 300px !important;
	overflow-y: auto !important;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25) !important;
}

#modalPdfMail ul.pdf-contact-select-dropdown li {
	position: relative !important;
	height: 52px !important;
	min-height: 52px !important;
	line-height: 52px !important;
	display: block !important;
}

#modalPdfMail ul.pdf-contact-select-dropdown li > span {
	height: 52px !important;
	line-height: 52px !important;
	padding: 0 56px 0 12px !important;
	box-sizing: border-box !important;

	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;

	color: #174617 !important;
	font-weight: 800 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

#modalPdfMail ul.pdf-contact-select-dropdown li img {
	position: absolute !important;
	right: 12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;

	width: 28px !important;
	height: 20px !important;
	margin: 0 !important;

	object-fit: cover !important;
	border-radius: 3px !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
}

#modalPdfMail ul.pdf-contact-select-dropdown li.disabled,
#modalPdfMail ul.pdf-contact-select-dropdown li.disabled:hover {
	pointer-events: none !important;
	cursor: default !important;
	background: #f2f2f2 !important;
}

#modalPdfMail ul.pdf-contact-select-dropdown li.disabled > span,
#modalPdfMail ul.pdf-contact-select-dropdown li.disabled:hover > span {
	color: rgba(23, 70, 23, 0.45) !important;
	font-style: italic !important;
	justify-content: center !important;
	text-align: center !important;
}

/* =========================================================
	OVERRIDE FINAL - SELECT POINT CONTACT PDF
	Ne dépend pas de .pdf-contact-select-wrapper
	========================================================= */

#modalPdfMail .l2c-pdf-contact-field .select-wrapper input.select-dropdown {
	height: 46px !important;
	line-height: 46px !important;
	padding: 0 2.8rem !important;
	margin: 0 !important;
	box-sizing: border-box !important;

	text-align: center !important;
	 text-indent: -5rem !important;

	color: #174617 !important;
	font-weight: 800 !important;

	/*background: #ffffff !important;*/
	border: none !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.35) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

#modalPdfMail .l2c-pdf-contact-field .select-wrapper input.select-dropdown:hover
{
	background: #dddddd !important;
	color: #287828 !important;
}

#modalPdfMail .l2c-pdf-contact-field .select-wrapper input.select-dropdown:focus {
	border-bottom: 2px solid #214d21 !important;
	box-shadow: none !important;
}

#modalPdfMail .l2c-pdf-contact-field .select-wrapper .caret {
	top: 50% !important;
	transform: translateY(-50%) !important;
	fill: #174617 !important;
	z-index: 1;
	pointer-events: none;
}

#modalPdfMail .l2c-pdf-contact-field .select-wrapper .dropdown-content.select-dropdown {
	background: #ffffff !important;
	max-height: 300px !important;
	overflow-y: auto !important;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25) !important;
}

#modalPdfMail .l2c-pdf-contact-field .select-wrapper .dropdown-content.select-dropdown li {
	position: relative !important;
	height: 52px !important;
	min-height: 52px !important;
	line-height: 52px !important;
	display: block !important;
}

#modalPdfMail .l2c-pdf-contact-field .select-wrapper .dropdown-content.select-dropdown li > span {
	height: 52px !important;
	line-height: 52px !important;
	padding: 0 56px 0 12px !important;
	box-sizing: border-box !important;

	display: block !important;
	text-align: left !important;

	color: #174617 !important;
	font-weight: 800 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

#modalPdfMail .l2c-pdf-contact-field .select-wrapper .dropdown-content.select-dropdown li img {
	position: absolute !important;
	right: 12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;

	width: 28px !important;
	height: 20px !important;
	margin: 0 !important;

	object-fit: cover !important;
	border-radius: 3px !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
}

#modalPdfMail .l2c-pdf-contact-field .select-wrapper .dropdown-content.select-dropdown li.disabled,
#modalPdfMail .l2c-pdf-contact-field .select-wrapper .dropdown-content.select-dropdown li.disabled:hover {
	pointer-events: none !important;
	cursor: default !important;
	background: #f2f2f2 !important;
}

#modalPdfMail .l2c-pdf-contact-field .select-wrapper .dropdown-content.select-dropdown li.disabled > span,
#modalPdfMail .l2c-pdf-contact-field .select-wrapper .dropdown-content.select-dropdown li.disabled:hover > span {
	color: rgba(23, 70, 23, 0.45) !important;
	font-style: italic !important;
	text-align: center !important;
}


/* ===================== FIN CONTACTS MODAL ===================== */

#modalAmbassadeurs, #modalMicrocredits, #modalCentres
{
	top: 0% !important;
	height: 100vh;
	border-radius: 0.4em
}

.l2c-ambassadeur-layout 
{
	display: flex;
	gap: 1.5em;
	align-items: flex-start;
}

/* colonne gauche */
.l2c-ambassadeur-left 
{
	flex: 1;
	min-width: 280px;
}

/* colonne droite */
.l2c-ambassadeur-right 
{
	flex: 1;
	min-width: 300px;
}

/* vidéo responsive */
.l2c-ambassadeur-right video 
{
	width: 100%;
	border-radius: 12px;
}


.l2c-contact-lang-flag 
{
	width: 34px;
	height: 34px;
	min-width: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: rgba(255,255,255,0.12);
	box-shadow: 0 0 0 2px rgb(0 0 0);
}

.l2c-contact-lang-flag img 
{
	width: 100%;
	height: 100%;
	object-fit: fill;
	display: block;
}

.l2c-contact-name-row 
{
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.l2c-contact-name-row h5 
{
	margin: 0;
}

.l2c-contact-list-item .l2c-contact-lang-flag 
{
	margin-left: auto;
	width: 28px;
	height: 28px;
	min-width: 28px;
}


/* =========================================================
	AJUSTEMENTS FINAUX DU SPLASHSCREEN
	========================================================= */

.l2c-splash-layout-spacer 
{
	height: clamp(0.35rem, 10vh, 2rem);
	flex: 0 0 auto;
}

.l2c-splash-partners { margin-bottom: 0; }
.l2c-splash-partners-title { margin-bottom: 0.55rem; }
.l2c-splash-partners-grid { gap: 0.65rem; }
.l2c-splash-partner-logo { height: clamp(82px, 10vh, 102px); padding: 0.55rem; }

.l2c-splash-partner-logo.l2c-partner-UE {
	border-left: 2px solid #434f58;
	border-radius: 0px;
}

/* =========================================================
   RESPONSIVE HOMOGÉNÉISÉ
   ========================================================= */

/* SMALL SCREEN */
@media screen and (min-width: 100px) and (max-width: 600px)
{

	.l2c-splash-partner-logo.l2c-partner-UE {
		border-left: 0px solid #434f58;
		border-radius: 0px;
	}

	#modalPdfMail 
	{
		top: 0% !important;
		max-height: 100% !important;
		border-radius: 0px;
	}

	.l2c-splash-shell {
		width: 94vw;
		padding: 0.8em;
	}

	.l2c-splash-card {
		padding: 1.6em 1.1em 1.35em 1.1em;
		border-radius: 24px;
	}

	.l2c-splash-description {
		font-size: 0.98rem;
	}

	.l2c-splash-features {
		gap: 0.5em;
	}

	.l2c-splash-features span {
		font-size: 0.86em;
	}

.l2c-splash-language-selector {
		gap: 7px;
		margin-bottom: 14px;
	}

	.l2c-splash-language-btn {
		min-width: 44px;
		min-height: 38px;
		padding: 7px 9px;
	}

	.l2c-splash-language-btn span {
		display: none;
	}

	.l2c-splash-language-btn img {
		width: 29px;
		height: 20px;
	}

.l2c-pdf-mail-grid {
		grid-template-columns: 1fr;
	}

.l2c-contacts-header {
		flex-direction: column;
	}

	.l2c-contacts-search-wrap {
		width: 100%;
		min-width: 0;
	}

	.l2c-contacts-layout {
		grid-template-columns: 1fr;
		height: auto;
	}

	.l2c-contacts-list {
		max-height: 260px;
	}

	.l2c-contact-card-top {
		flex-direction: column;
		align-items: flex-start;
	}

	.l2c-contact-info-grid {
		grid-template-columns: 1fr;
	}

.l2c-ambassadeur-layout 
	{
		flex-direction: column;
	}

.l2c-splash-partners {
		width: min(760px, 94vw);
	}

	.l2c-splash-partners-grid {
		grid-template-columns: repeat(6, minmax(110px, 1fr));
		gap: 0.55rem;
	}

	.l2c-splash-partner-logo {
		height: 80px;
		padding: 0.45rem;
	}

	.l2c-splash-funding-notice {
		width: 92vw;
		margin-bottom: 0.65rem;
		padding: 0.55rem 0.75rem;
		font-size: 0.72rem;
		line-height: 1.35;
	}

	#l2c-splashscreen {
		overflow-y: auto;
	}

	.l2c-splash-shell {
		width: 100%;
		height: auto !important;
		min-height: 100vh;
		padding: 0;
	}

	.l2c-splash-card {
		width: 100%;
		height: auto;
		min-height: 100vh;
		padding: 0.8rem;
		border-radius: 0;
		display: flex;
		justify-content: center;
	}

	.l2c-splash-logo {
		width: 105px;
	}

	.l2c-splash-language-selector {
		margin: 2px 0 7px;
	}

	.l2c-splash-title {
		font-size: 1.3rem;
		margin-bottom: 0.45rem;
	}

	.l2c-splash-partners-title {
		font-size: 0.75rem;
		margin-bottom: 0.4rem;
	}

	.l2c-splash-partners-grid 
	{
		display: grid;
		grid-template-columns: repeat(2, minmax(105px, 1fr));
	}

	.l2c-splash-partner-logo 
	{
		width: stretch;
	}

	.l2c-splash-partner-logo {
		height: 66px;
		border-radius: 9px;
		padding: 0.35rem;
	}

	.l2c-splash-partner-logo:last-child {
		/* grid-column: 1 / -1; */
		width: 100%;
		justify-self: center;
	}

	.l2c-splash-funding-notice {
		width: 96%;
		font-size: 0.65rem;
		line-height: 1.3;
		padding: 0.5rem;
	}

	.l2c-splash-enter {
		padding: 0.7rem 1.3rem;
		font-size: 1rem;
	}

	.btn_style 
	{
		top: 80% !important;
	}

	.carousel3d 
	{
		width: 50%;
		margin-left: 25%;
		overflow: visible;
	}

	.toast
	{
		max-width: 95%;
		font-size: 1.5em;
	}
	#toast-container
	{
		top: 4%;
		right: 0%;
		justify-content: flex-start;
		flex-direction: column;
		align-items: center;
	}

	.row .col 
	{
		padding: 0 0.15rem;
	}

	#carrousel_perspective 
	{
		top: 0vh;
	}

	#fond_banniere 
	{
		transform: scale(0.3) !important;
		position: absolute !important;
		top: -6.1em !important;
		left: -10.8em !important;
	}

	#logo_banniere 
	{
		transform: scale(0.3) !important;
		position: absolute !important;
		top: -4.5em !important;
		left: -6.1em !important;
	}

	.btn_menu 
	{
		font-size: 1.4em !important;
		display: flex !important;
		justify-content: center !important;
		height: 2.5em !important;
		align-items: center !important;
		min-width: fit-content;
	}

	.logo_bouton 
	{
		width: 20%;
	}

	.btn_rotation_carrousel
	{
		top: 65% !important;
		font-size: 1.5em;
		width: unset;
	}

	.watermark 
	{
		left: 25% !important;
		transform: translate(-12.5%, 0%) !important;
		bottom: 0.5em !important;
	}

	.contour_chevron .material-icons
	{
		transform: scale(1.5);
	}

	.menu_carrousel 
	{
		display: flex;
		gap: 1em;
		margin-left: 0em !important;
	}

	.l2c-splash-UE { width: min(620px, 94vw); }
	.l2c-splash-eu-card { grid-template-columns: 120px minmax(0, 1fr); gap: 0.9rem; padding: 0.75rem 1rem; }
	.l2c-splash-eu-logo img { max-width: 115px; height: 58px; }
	.l2c-splash-eu-text { font-size: clamp(0.9rem, 2.1vw, 1.15rem); }

	.l2c-splash-layout-spacer {
		height: clamp(0.35rem, 10vh, 1.15rem);
		flex: 0 0 auto;
	}

	.l2c-splash-UE { width: 96%; margin-top: 0.65rem; }
	.l2c-splash-eu-card { grid-template-columns: 1fr; gap: 0.4rem; padding: 0.7rem; padding: 0.1rem 0.7rem;}
	.l2c-splash-eu-logo img { max-width: 110px; height: 48px; }
	.l2c-splash-eu-text { font-size: 0.86rem; line-height: 1.25; }
	.l2c-splash-partners-grid { gap: 0.45rem; }
	.l2c-splash-partner-logo { height: 64px; }


	#modalPdfMail .l2c-pdf-contact-field .select-wrapper input.select-dropdown
	{
		padding: 0px 1.5rem !important;
		text-indent: -13rem !important;
	}

	#modalPdfMail .l2c-pdf-contact-field .select-wrapper input.select-dropdown:hover
	{
		text-indent: -1rem !important;
		padding: 0em 0rem !important;
	}
}

/* MEDIUM SCREEN */
@media screen and (min-width: 601px) and (max-width: 992px)
{

	

	#modalPdfMail 
	{
		top: 0% !important;
		max-height: 100% !important;
		border-radius: 0px;
	}
	
	#modalPdfMail .l2c-pdf-contact-field .select-wrapper input.select-dropdown
	{
		padding: 0px 1.5rem !important;
		text-indent: -13rem !important;
	}

	#modalPdfMail .l2c-pdf-contact-field .select-wrapper input.select-dropdown:hover
	{
		text-indent: -1rem !important;
		padding: 0em 0rem !important;
	}
	
	.l2c-pdf-mail-grid {
		grid-template-columns: 1fr;
	}

	.l2c-contacts-header {
		flex-direction: column;
	}

	.l2c-contacts-search-wrap {
		width: 100%;
		min-width: 0;
	}

	.l2c-contacts-layout {
		grid-template-columns: 1fr;
		height: auto;
	}

	.l2c-contacts-list {
		max-height: 260px;
	}

	.l2c-contact-card-top {
		flex-direction: column;
		align-items: flex-start;
	}

	.l2c-contact-info-grid {
		grid-template-columns: 1fr;
	}

.l2c-ambassadeur-layout 
	{
		flex-direction: column;
	}

.l2c-splash-partners {
		width: min(760px, 94vw);
	}

	.l2c-splash-partners-grid {
		grid-template-columns: repeat(6, minmax(110px, 1fr));
		gap: 0.55rem;
	}

	.l2c-splash-partner-logo {
		height: 80px;
		padding: 0.45rem;
	}

	.l2c-splash-funding-notice {
		width: 92vw;
		margin-bottom: 0.65rem;
		padding: 0.55rem 0.75rem;
		font-size: 0.72rem;
		line-height: 1.35;
	}

.container_frise 
	{
		margin-top: -6em;
	}
	.breadcrumb:before 
	{
		font-size: 20px;
	}
	.breadcrumb 
	{
		font-size: 1.2em;
	}

	.btn_style 
	{
		width: 20%;
		top: 45% !important;
		font-size: 1.3em;
	}

	.ligne_menu
	{
		margin-top: 0.5em;
		width: 100%;
	}

	#carrousel_perspective
	{
		margin-top: 0em;
		padding-top: 1.5em;
	}

	.l2c-splash-logo
	{
		width: 30vh;
	}

	.l2c-splash-card 
	{
		max-height: 95vh;
		height: 95vh;
		padding: 1em;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.l2c-splash-description 
	{
		line-height: 1.45;
		font-size: 1em;
		margin: 0 auto 0.5em auto;
	}

	.l2c-splash-title 
	{
		font-size: 1.5em;
		font-weight: 800;
	}

	.l2c-splash-features 
	{
		display: none;
	}

	.l2c-splash-badge 
	{
		display: none;
	}

	.carousel3d 
	{
		width:100%; height:100%;
		position: relative;
		transform-style: preserve-3d;
		transition: transform 0.5s;
		margin-top: -6.5em;
		pointer-events: none;
	}

	.toast
	{
		max-width: 95%;
		font-size: 1.5em;
	}
	#toast-container
	{
		top: 4%;
		right: 15%;
		left: 15%;
		max-width: 70%;
		justify-content: flex-start;
		flex-direction: column;
		align-items: center;
	}

	#fond_banniere 
	{
		transform: scale(0.3) !important;
		position: absolute !important;
		top: -6.1em !important;
		left: -10.8em !important;
	}

	#logo_banniere 
	{
		transform: scale(0.3) !important;
		position: absolute !important;
		top: -4.5em !important;
		left: -6.1em !important;
	}

	.btn_menu 
	{
		font-size: 1.4em !important;
		display: flex !important;
		justify-content: center;
		height: 3.3em !important;
		gap: 0em;
	}

	.btn_rotation_carrousel
	{
		top: 42% !important;
		font-size: 1.75em;
		width: 25vw;
	}

	.menu_carrousel 
	{
		width: 100%;
		margin-left: 0% !important;
	}

	.watermark 
	{
		top: 0;
		right: 0;
		transform: unset !important;
		left: unset !important;
		font-size: 0.7em;
	}

	.contour_chevron .material-icons
	{
		transform: scale(1.5);
	}

.l2c-splash-UE { width: min(620px, 94vw); }
	.l2c-splash-eu-card { grid-template-columns: 120px minmax(0, 1fr); gap: 0.9rem; padding: 0.75rem 1rem; }
	.l2c-splash-eu-logo img { max-width: 115px; height: 58px; }
	.l2c-splash-eu-text { font-size: clamp(0.9rem, 2.1vw, 1.15rem); }

	.l2c-splash-layout-spacer {
		height: clamp(0.35rem, 10vh, 1.15rem);
		flex: 0 0 auto;
	}
}

/* TALL-MEDIUM SCREEN */
@media screen and (min-width: 993px) and (max-width: 1560px)
{
	.breadcrumb 
	{
		font-size: 1em;
		line-height: 1em;
	}
	.breadcrumb:before 
	{
		font-size: 15px;
	}

	.btn_style 
	{
		font-size: 1.5em;
	}
	.container_frise
	{
		margin-top: 0em;
	}

	#modalPdfMail .l2c-pdf-contact-field .select-wrapper input.select-dropdown {
		padding: 0 2rem !important;
		text-indent: -10rem !important;
	}

	#modalPdfMail .l2c-pdf-contact-field .select-wrapper input.select-dropdown:hover
	{
		text-indent: 0rem !important;
	}

	.btn_style-right 
	{
		font-size: 2.3em;
	}

	.btn_style-left 
	{
		font-size: 2.3em;
	}
}

/* Ajustement transversal pour les écrans peu hauts en mode paysage */
@media screen and (max-height: 600px) and (orientation: landscape)
{
#l2c-splashscreen {
		overflow: hidden;
	}

	.l2c-splash-shell {
		width: 100vw;
		height: 100dvh !important;
		min-height: 0;
		padding: 0;
	}

	.l2c-splash-card {
		width: 100%;
		height: 100dvh;
		min-height: 0;
		max-height: none;
		padding: 0.25rem 0.65rem;
		justify-content: center;
		overflow: hidden;
		gap: 0.3em;
	}

	.l2c-splash-glow {
		display: none;
	}

	.l2c-splash-layout-spacer {
		display: none;
	}

	/* Logo L2C */
	.l2c-splash-brand {
		margin: 0 0 0.1rem;
	}

	.l2c-splash-logo {
		width: auto;
		height: clamp(42px, 14vh, 58px);
		padding: 0.18rem;
		animation: none;
	}

	/* Sélecteur de langue */
	.l2c-splash-language-selector {
		gap: 6px;
		margin: 0 0 0.15rem;
	}

	.l2c-splash-language-btn {
		min-width: 88px;
		min-height: 28px;
		padding: 4px 8px;
		gap: 5px;
		font-size: 11px;
	}

	.l2c-splash-language-btn img {
		width: 22px;
		height: 15px;
	}

	.l2c-splash-language-btn.is-active::after {
		width: 14px;
		height: 14px;
		font-size: 9px;
	}

	/* Titre */
	.l2c-splash-title {
		margin: 0 0 0.15rem;
		font-size: clamp(0.95rem, 3.3vh, 1.25rem);
		line-height: 1;
	}

	/* Mention légale */
	.l2c-splash-funding-notice {
		width: min(920px, 92vw);
		margin: 0 auto 0.2rem;
		padding: 0.28rem 0.55rem;
		font-size: clamp(0.5rem, 1.7vh, 0.65rem);
		line-height: 1.15;
		border-radius: 9px;
	}

	/* Bouton Entrer */
	.l2c-splash-actions {
		margin: 0 0 0.15rem;
	}

	.l2c-splash-enter {
		padding: 0.42rem 1.25rem;
		border-radius: 12px;
		font-size: 0.82rem;
		box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
	}

	/* Partenaires */
	.l2c-splash-partners {
		width: min(1120px, 94vw);
		margin: 0 auto;
	}

	.l2c-splash-partners-title {
		margin: 0 0 0.18rem;
		font-size: 0.62rem;
		line-height: 1;
		display: none;
	}

	.l2c-splash-partners-grid 
	{
		display: flex;
		justify-content: space-around;
	}

	.l2c-splash-partner-logo {
		height: clamp(38px, 14vh, 50px);
		padding: 0.22rem;
		border-width: 1px;
		border-radius: 7px;
		/*box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);*/
	}

	/* Bloc Union européenne */
	.l2c-splash-UE {
		width: min(460px, 70vw);
		margin: 0.22rem auto 0;
	}

	.l2c-splash-eu-card {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 0.5rem;
		min-height: 0;
		padding: 0.28rem 0.6rem;
		border-width: 1px;
		border-radius: 10px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
	}

	.l2c-splash-eu-logo img {
		max-width: 62px;
		height: 30px;
	}

	.l2c-splash-eu-text {
		font-size: clamp(0.62rem, 2.2vh, 0.78rem);
		line-height: 1.1;
	}
}

/* Compression supplémentaire pour les écrans très peu hauts */
@media screen and (max-height: 380px) and (orientation: landscape)
{
.l2c-splash-logo {
		height: 40px;
	}

	.l2c-splash-language-btn {
		min-height: 25px;
		padding: 3px 7px;
	}

	.l2c-splash-title {
		font-size: 0.9rem;
	}

	.l2c-splash-funding-notice {
		font-size: 0.8rem;
		padding: 0.2rem 0.45rem;
	}

	.l2c-splash-enter {
		padding: 0.72rem 1.1rem;
		font-size: 1em;
	}

	.l2c-splash-partner-logo {
		height: 40px;
	}

	.l2c-splash-UE {
		margin-top: 0.15rem;
	}

	.l2c-splash-eu-card {
		padding: 0.1rem 0.1rem;
		width: 50%;
		margin-top: 0.3em;
	}

	.l2c-splash-eu-logo img {
		height: 25px;
	}
}

/* =========================================================
	FENÊTRE DE PARTAGE PAR CODE QR
	========================================================= */

body.l2c-qr-modal-open {
	overflow: hidden;
}

.l2c-qr-button-icon {
	font-size: 1.45em;
	line-height: 1;
}

.l2c-qr-modal[hidden] {
	display: none;
}

.l2c-qr-modal {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.l2c-qr-modal-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(5, 8, 7, 0.82);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
	cursor: pointer;
}

.l2c-qr-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(520px, calc(100vw - 2rem));
	max-height: calc(100dvh - 2rem);
	padding: 1.3rem;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 22px;
	background: linear-gradient(145deg, rgb(20 169 84 / 98%), rgba(12, 16, 14, 0.99));
	box-shadow: 0 26px 80px rgba(0, 0, 0, 0.58);
	color: #ffffff;
	text-align: center;
	overflow: auto;
	animation: l2cQrModalIn 0.22s ease-out;
}

.l2c-qr-modal-dialog h2 {
	margin: 0 2.2rem 0.35rem;
	font-size: clamp(1.25rem, 4vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
}

.l2c-qr-modal-dialog p {
	margin: 0 auto 1rem;
	max-width: 410px;
	color: rgba(255, 255, 255, 0.84);
	font-size: clamp(0.88rem, 2.5vw, 1rem);
	line-height: 1.4;
}

.l2c-qr-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1) !important;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.l2c-qr-modal-close:hover,
.l2c-qr-modal-close:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.l2c-qr-image-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(420px, 100%);
	margin: 0 auto;
	padding: clamp(0.6rem, 2vw, 0.9rem);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.l2c-qr-image-frame img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(58dvh, 420px);
	object-fit: contain;
}

@keyframes l2cQrModalIn {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media screen and (max-width: 600px) {
	.l2c-splash-funding-notice {
		font-size: clamp(0.67rem, 2.75vw, 0.78rem);
		line-height: 1.3;
	}

	.l2c-splash-actions {
		gap: 0.55rem;
	}

	.l2c-splash-enter {
		padding: 0.68rem 1rem;
	}

	.l2c-qr-modal {
		padding: 0.65rem;
	}

	.l2c-qr-modal-dialog {
		width: min(94vw, 460px);
		max-height: calc(100dvh - 1.3rem);
		padding: 3em 1rem;
		border-radius: 18px;
	}

	.l2c-qr-image-frame img {
		max-height: min(55dvh, 390px);
	}

	.l2c-splash-partners-grid {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.l2c-splash-partner-logo {
		flex: 0 0 calc(50% - 5px);
		width: calc(50% - 5px);
		box-sizing: border-box;

		display: flex;
		align-items: center;
		justify-content: center;
	}

	.l2c-splash-partner-logo img {
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
	}
	.l2c-splash-partner-logo:last-child:nth-child(odd) {
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (max-height: 600px) and (orientation: landscape) {
	.l2c-qr-modal-dialog {
		display: grid;
		grid-template-columns: minmax(190px, 0.8fr) minmax(240px, 1.2fr);
		width: min(760px, calc(100vw - 1.5rem));
		max-height: calc(100dvh - 1rem);
		padding: 0.4rem 1rem;
	}

	.l2c-qr-modal-dialog h2,
	.l2c-qr-modal-dialog p {
		grid-column: 1;
	}

	.l2c-qr-modal-dialog h2 {
		align-self: end;
		margin: 0 1.8rem 0.25rem 0;
	}

	.l2c-qr-modal-dialog p {
		align-self: start;
		margin-bottom: 0;
	}

	.l2c-qr-image-frame {
		grid-column: 2;
		grid-row: 1 / 3;
		width: auto;
		height: calc(100dvh - 2.6rem);
		max-height: 430px;
	}

	.l2c-qr-image-frame img {
		width: auto;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.l2c-qr-modal-dialog {
		animation: none;
	}
}
