:root {
	--sr-cyan: rgb(0, 181, 236);
	--sr-blue: rgb(0, 108, 184);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	font-family: 'PT Sans Narrow', system-ui, sans-serif;
	color: #ffffff;
	background: linear-gradient(135deg, var(--sr-cyan) 0%, var(--sr-blue) 100%);
	background-attachment: fixed;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 1.5rem;
	overflow-x: hidden;
	position: relative;
}

/* Animated overlay to give the flat gradient some life */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.18), transparent 40%),
		radial-gradient(circle at 85% 85%, rgba(0, 60, 110, 0.35), transparent 45%);
	animation: shimmer 16s ease-in-out infinite alternate;
	pointer-events: none;
	z-index: 0;
}

@keyframes shimmer {
	from { opacity: 0.7; transform: scale(1); }
	to   { opacity: 1; transform: scale(1.1); }
}

/* Subtle grid texture */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(circle at center, black, transparent 75%);
	-webkit-mask-image: radial-gradient(circle at center, black, transparent 75%);
	pointer-events: none;
	z-index: 0;
}

.card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 640px;
	margin: auto 0;
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 26px;
	padding: 3.5rem 2.75rem;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 24px 60px rgba(0, 40, 80, 0.35);
	animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rise {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

.logo-plate {
	background: #ffffff;
	border-radius: 18px;
	padding: 1.5rem 1.75rem;
	margin: 0 auto 2rem;
	max-width: 380px;
	box-shadow: 0 12px 30px rgba(0, 40, 80, 0.25);
}

.logo { width: 100%; height: auto; display: block; }

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.82rem;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	padding: 0.45rem 1rem;
	border-radius: 999px;
	margin-bottom: 1.75rem;
}

.pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffffff;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
	70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

h1 {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: clamp(1.9rem, 5vw, 2.7rem);
	line-height: 1.1;
	color: #ffffff;
	text-shadow: 0 2px 12px rgba(0, 40, 80, 0.3);
	margin-bottom: 1.1rem;
}

.lead {
	font-size: 1.18rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
	max-width: 46ch;
	margin: 0 auto 2.25rem;
}

.lead strong { color: #ffffff; font-weight: 700; }

/* Action principale : MySquash */
.btn-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	max-width: 400px;
	margin: 0 auto 1.4rem;
	padding: 1.1rem 2rem;
	text-decoration: none;
	background: #ffffff;
	color: var(--sr-blue);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(0, 40, 80, 0.32);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-hero:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 38px rgba(0, 40, 80, 0.48);
}

.btn-hero-main {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 1.15rem;
	font-weight: 700;
}

.btn-hero-main svg { width: 20px; height: 20px; }

.btn-hero-sub {
	font-size: 0.95rem;
	color: rgba(0, 108, 184, 0.75);
	line-height: 1.3;
}

/* Raccourcis secondaires */
.quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: center;
	margin-bottom: 1.6rem;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	text-decoration: none;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	padding: 0.55rem 1.15rem;
	border-radius: 999px;
	transition: transform 0.18s ease, background 0.18s ease;
}

.pill svg { width: 17px; height: 17px; opacity: 0.9; }

.pill:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.22);
}

/* Fil d'actualités WhatsApp */
.news {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1rem;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: 2rem;
	padding: 0.35rem 0;
	border-bottom: 1px solid transparent;
	transition: border-color 0.18s ease;
}

.news svg { width: 20px; height: 20px; flex-shrink: 0; }

.news:hover { border-bottom-color: rgba(255, 255, 255, 0.6); }

.divider {
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	margin: 0 0 1.5rem;
}

.footer-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.footer-sep {
	width: 1px;
	height: 26px;
	background: rgba(255, 255, 255, 0.25);
}

.contact {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.98rem;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.9);
	transition: color 0.18s ease;
}

.contact svg { width: 18px; height: 18px; }

.contact:hover { color: #ffffff; }

.social {
	display: flex;
	justify-content: center;
	gap: 0.7rem;
}

.social a {
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #ffffff;
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.social a:hover {
	transform: translateY(-3px);
	background: #ffffff;
	color: var(--sr-blue);
	border-color: transparent;
}

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

footer {
	position: relative;
	z-index: 1;
	margin-top: 2rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.75);
	text-align: center;
}

@media (max-width: 480px) {
	.card { padding: 2.5rem 1.5rem; }
	.quick-links { flex-direction: column; }
	.pill { justify-content: center; }
	.footer-sep { display: none; }
	.footer-row { flex-direction: column; gap: 1.2rem; }
}
