/**
 * AVANT-LANCEMENT (v0.27) — page « Bientôt » : nuit étoilée + carte « Le Courrier des Trésors ».
 * Pensée téléphone d'abord (arrivées depuis la bio Instagram).
 */

body.tdc-bientot-page {
	margin: 0;
	min-height: 100svh;
	background:
		radial-gradient(ellipse at 50% 110%, rgba(180, 139, 224, 0.4), transparent 60%),
		linear-gradient(170deg, #1B0B2A 0%, #2B1240 45%, #4B1B45 100%) fixed;
	color: #F4EDE4;
}

.tdc-bientot {
	position: relative;
	box-sizing: border-box;
	max-width: 760px;
	margin: 0 auto;
	padding: 40px 16px 32px;
	text-align: center;
}

/* Étoiles discrètes */
.tdc-bientot__ciel {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		radial-gradient(1.5px 1.5px at 12% 18%, rgba(244, 237, 228, 0.8), transparent),
		radial-gradient(1px 1px at 78% 12%, rgba(244, 237, 228, 0.7), transparent),
		radial-gradient(1.5px 1.5px at 88% 46%, rgba(226, 196, 126, 0.9), transparent),
		radial-gradient(1px 1px at 22% 62%, rgba(244, 237, 228, 0.6), transparent),
		radial-gradient(1.5px 1.5px at 64% 78%, rgba(244, 237, 228, 0.7), transparent),
		radial-gradient(1px 1px at 40% 34%, rgba(226, 196, 126, 0.8), transparent),
		radial-gradient(1px 1px at 6% 88%, rgba(244, 237, 228, 0.6), transparent),
		radial-gradient(1.5px 1.5px at 94% 84%, rgba(244, 237, 228, 0.6), transparent);
}

.tdc-bientot__logo {
	display: block;
	width: min(220px, 42vw);
	height: auto;
	margin: 0 auto 16px;
}

.tdc-bientot__date {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #C9A45C;
}

.tdc-bientot__titre {
	margin: 14px auto 0;
	max-width: 620px;
	font-family: var(--wp--preset--font-family--titre, Georgia, serif);
	font-size: clamp(1.9rem, 7vw, 2.9rem);
	font-weight: 500;
	line-height: 1.12;
	color: #F4EDE4 !important;
}

.tdc-bientot__titre em {
	color: #E2C47E;
}

.tdc-bientot__sous {
	max-width: 520px;
	margin: 14px auto 0;
	color: #EADFCF;
	line-height: 1.55;
}

/* Compte à rebours */
.tdc-bientot__decompte {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 26px 0 0;
}

.tdc-bientot__decompte[hidden] {
	display: none;
}

.tdc-bientot__decompte span {
	min-width: 76px;
	padding: 10px 8px;
	border: 1px solid rgba(201, 164, 92, 0.55);
	border-radius: 14px;
	background: rgba(27, 11, 42, 0.45);
	font-size: 0.8rem;
	color: #EADFCF;
}

.tdc-bientot__decompte b {
	display: block;
	font-family: var(--wp--preset--font-family--titre, Georgia, serif);
	font-size: 1.9rem;
	font-weight: 600;
	line-height: 1.1;
	color: #E2C47E;
	font-variant-numeric: lining-nums tabular-nums;
}

.tdc-bientot__univers {
	margin: 22px 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #C9A45C;
}

/* La carte newsletter (bloc de l'accueil, posé sur la nuit) */
.tdc-bientot .tdc-courrier {
	margin: 32px 0 0;
	padding: 28px 18px;
	border: 1px solid rgba(201, 164, 92, 0.6);
	border-radius: 22px;
	color: #2A1828;
	text-align: left;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.tdc-bientot .tdc-courrier__visuel {
	max-width: 200px;
	margin: 0 auto;
}

.tdc-bientot__repli {
	margin-top: 32px;
	color: #EADFCF;
}

/* Pied */
.tdc-bientot__pied {
	margin-top: 30px;
}

.tdc-bientot__insta {
	display: inline-block;
	padding: 11px 20px;
	border: 1px solid #C9A45C;
	border-radius: 999px;
	color: #F4EDE4 !important;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color 0.3s ease;
}

.tdc-bientot__insta:hover,
.tdc-bientot__insta:focus-visible {
	background: rgba(201, 164, 92, 0.2);
}

.tdc-bientot__legal {
	margin: 22px 0 0;
	font-size: 0.82rem;
	color: rgba(234, 223, 207, 0.75);
}

.tdc-bientot__legal a {
	color: inherit !important;
}

@media (min-width: 782px) {
	.tdc-bientot {
		padding-top: 64px;
	}

	.tdc-bientot .tdc-courrier {
		padding: 36px 40px;
	}

	.tdc-bientot .tdc-courrier__grille {
		grid-template-columns: 200px 1fr;
	}
}

@media (max-width: 781px) {
	body.tdc-bientot-page {
		background-attachment: scroll;
	}
}
