:root {
	color-scheme: dark;
	--page-bg: #020817;
	--cyan: #35caff;
	--cyan-soft: #9be8ff;
	--panel: rgba(2, 12, 33, 0.72);
	--border: rgba(53, 202, 255, 0.72);
}

* {
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	min-width: 320px;
	height: 100%;
	min-height: 100%;
	margin: 0;
	overflow: hidden;
	background: #f7f8fb;
}

body {
	font-family: Arial, Helvetica, sans-serif;
}

.maintenance-page {
	position: fixed;
	inset: 0;
	isolation: isolate;
	overflow: hidden;
	background: #fdfdfd;
}

.background,
.screen-shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.background {
	background-image: url("assets/background-desktop.jpg");
	background-position: center center;
	background-repeat: no-repeat;
}

.background--sharp {
	z-index: -2;
	/* Remplit toujours l’écran sans déformer l’image.
		 Les zones hors écran sont simplement recadrées. */
	background-image: url("assets/background-desktop.jpg");

	/* Affiche toujours 100 % de l'image */
	background-size: contain;
}

.background--blurred {
	z-index: -3;
	background-size: cover;
	background-position: center center;
	filter: blur(30px) brightness(0.45) saturate(1.25);
	transform: scale(1.1);
	display: none;
}

.screen-shade {
	z-index: -1;
	position: absolute;
	inset: 0;
	pointer-events: none;
	display: none;
	/*background:
		linear-gradient(to top, rgba(1, 7, 20, 0.62) 0, transparent 22%),
		radial-gradient(circle at center, transparent 42%, rgba(1, 6, 18, 0.38) 100%);*/
}

.social-links {
	position: absolute;
	left: 80%;
	bottom: max(18px, env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 11px 9px 16px;
	border: 1px solid rgb(7 108 235);
	border-radius: 1em;
	background: rgb(255 255 255);
	box-shadow: 0 0 20px rgb(0 68 155);
	transform: translateX(-50%);
}

.social-links__label {
	margin-right: 4px;
	color: #1473eb;
	font-size: 1em;
	font-weight: 900;
	letter-spacing: 0.05em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

p.mail, p.tel 
{
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact {
	margin-right: 4px;
	color: #1473eb;
	font-size: 1em;
	font-weight: 900;
	letter-spacing: 0.05em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.RS_Container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.4em;
}

.social-link {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 2px solid rgb(37 51 70);
	border-radius: 50%;
	color: #066ff3;
	background: rgb(255 255 255 / 85%);
	box-shadow: inset 0 0 12px rgba(42, 193, 255, 0.12);
	transition: transform 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.social-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
	color: #fff;
	background: rgba(30, 174, 226, 0.95);
	box-shadow: 0 0 22px rgba(49, 205, 255, 0.58);
	transform: translateY(-2px);
}

.social-link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 380px) and (orientation: portrait) {
  .maintenance-page {
	background: #f7f8fb;
  }

	.background--sharp {
		z-index: -2;

		background-size: contain;
		background-position: center center;
		background-repeat: no-repeat;
	}

  .background--blurred,
  .screen-shade {
	display: none;
  }
}

@media (orientation: portrait) {
	.background {
		background-image: url("assets/background-mobile.png");
	}

	.background--blurred {
		filter: blur(26px) brightness(0.4) saturate(1.2);
	}

	.social-links {
		bottom: max(14px, env(safe-area-inset-bottom));
	}
}

@media (max-width: 520px) {
	.social-links {
		gap: 8px;
		padding: 4px 10px;
		left: 50%;
	}

	.contact {
		font-size: 0.6em;
	}

	p.mail, p.tel 
	{
		margin: 0.2em;
	}

	.social-links__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.social-link {
		width: 40px;
		height: 40px;
	}
}

@media (max-height: 520px) and (orientation: landscape) {

  .maintenance-page {
	background: #ffffff;
  }

  .background--sharp {
	background-image: url("assets/background-desktop.jpg");
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
  }

  .background--blurred {
	display: none;
  }

  .screen-shade {
	display: none;
  }

  .social-links {
		gap: 8px;
		padding: 4px 10px;
		left: 50%;
	}

	.contact {
		font-size: 0.6em;
	}

	p.mail, p.tel 
	{
		margin: 0.2em;
	}

  .social-links {
	left: auto;
	right: max(14px, env(safe-area-inset-right));
	bottom: max(12px, env(safe-area-inset-bottom));
	transform: none;
  }

  .social-links__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation: none !important;
		transition: none !important;
	}
}
