/**
 * Teaser page styles — Bientôt disponible
 *
 * Loaded exclusively on the teaser page template.
 * Enqueued conditionally in functions.php via is_page_template().
 *
 * @package parfumsabsoluta
 */

:root {
	--color-primary: #1C1C1E;
	--color-accent:  #E8C04A;
	--color-neutral: #F2F0EB;
	--font-display:  'Cormorant Garamond', Georgia, serif;
	--font-body:     'Montserrat', Helvetica, sans-serif;
}

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

body {
	background-color: var(--color-primary);
	color: var(--color-neutral);
	font-family: var(--font-body);
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	overflow: hidden;
}

/* Grain overlay — decorative texture on dark background */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 0;
}

/* Layout */
/* Ensure content sits above grain */

.teaser-wrap {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 64px 32px;
	animation: fadeIn 1.4s ease both;
}

/* Gold rule — shared styles, spacing set per instance via margin utility */

.teaser-rule {
	display: block;
	width: 40px;
	height: 1px;
	background-color: var(--color-accent);
	margin: 0 auto;
	animation: expandRule 1s ease both;
	transform-origin: center;
}

.teaser-rule--top    { margin-bottom: 40px; animation-delay: 0.3s; }
.teaser-rule--bottom { margin-bottom: 48px; animation-delay: 0.5s; }

/* Typography */

.teaser-wordmark {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-neutral);
	line-height: 1;
	margin-bottom: 20px;
}

.teaser-tagline {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(0.95rem, 2vw, 1.2rem);
	color: var(--color-accent);
	letter-spacing: 0.06em;
	margin-bottom: 48px;
	opacity: 0.9;
}

.teaser-status {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: clamp(0.65rem, 1.4vw, 0.75rem);
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-neutral);
	opacity: 0.45;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* Animations */

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

@keyframes expandRule {
	from { transform: scaleX(0); opacity: 0; }
	to   { transform: scaleX(1); opacity: 1; }
}
