/*
Theme Name: ASSOF Coming Soon
Description: Page « Bientôt en ligne » pour solidairedefrance.org.
Version: 1.0.0
Text Domain: assof
*/

:root {
	--bleu: #0b2f8f;
	--bleu-clair: #3d5a80;
	--rouge: #e30613;
	--texte: #1c2440;
	--fond: #ffffff;
}

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

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--fond);
	color: var(--texte);
	font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	text-align: center;
}

/* Tricolor band echoing the logo */
body::before {
	content: "";
	height: 6px;
	background: linear-gradient(90deg, var(--bleu) 0 33.3%, #fff 33.3% 66.6%, var(--rouge) 66.6%);
	border-bottom: 1px solid #eef0f5;
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.75rem;
	padding: 3rem 1rem;
}

/* multiply hides the logo PNG's off-white background */
.logo { width: min(240px, 60vw); height: auto; mix-blend-mode: multiply; }

.badge {
	display: inline-block;
	padding: .4rem 1rem;
	border-radius: 999px;
	background: #f1f4fb;
	color: var(--bleu);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

h1 {
	color: var(--bleu);
	font-size: clamp(2rem, 6vw, 3.25rem);
	font-weight: 800;
	line-height: 1.1;
}

h1 span { color: var(--rouge); }

.lead {
	max-width: 36rem;
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--bleu-clair);
}

footer {
	padding: 1.5rem 1rem;
	font-size: .875rem;
	color: #6b7590;
}

.contact { font-size: 1rem; }
.contact a { color: var(--bleu); font-weight: 700; text-underline-offset: 3px; }
.contact a:hover { color: var(--rouge); }

@media (prefers-reduced-motion: no-preference) {
	main > * { animation: up .7s ease-out both; }
	main > *:nth-child(2) { animation-delay: .1s; }
	main > *:nth-child(3) { animation-delay: .2s; }
	main > *:nth-child(4) { animation-delay: .3s; }
	main > *:nth-child(5) { animation-delay: .4s; }
	@keyframes up { from { opacity: 0; transform: translateY(12px); } }
}
