/* =============================================================================
   CZSBrasil — Landing Redesign 2026 ("Esports Clean")
   Reconstrução da home pública: layout novo, componentes novos, tokens de
   tokens.css. Prefixo .lp- (landing page). Substitui o home.css antigo nesta
   página. Ver Vault: Desenvolvimento/website/redesign-2026/direcao-visual.md
============================================================================= */

.lp {
	--lp-max: 1180px;
	background: var(--czs-bg-base);
	color: var(--czs-text-primary);
}
.lp *,
.lp *::before,
.lp *::after { box-sizing: border-box; }

.lp__wrap {
	max-width: var(--lp-max);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Botões ---------- */
.lp-btn {
	font-family: var(--czs-font-display);
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	padding: 0.9rem 1.5rem;
	border-radius: var(--czs-radius-md);
	border: 1px solid transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	transition: transform 0.15s var(--czs-ease), box-shadow 0.15s var(--czs-ease), background 0.15s var(--czs-ease), border-color 0.15s var(--czs-ease);
}
.lp-btn--primary {
	background: var(--czs-brand-primary);
	color: var(--czs-text-on-brand);
}
.lp-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgb(var(--czs-brand-primary-rgb) / 0.28);
}
.lp-btn--ghost {
	background: var(--czs-bg-elevated);
	color: var(--czs-text-primary);
	border-color: var(--czs-border);
}
.lp-btn--ghost:hover {
	border-color: var(--czs-border-strong);
	background: var(--czs-bg-hover);
}
.lp-btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Section scaffolding ---------- */
.lp-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.lp-label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
	font-family: var(--czs-font-display);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--czs-text-muted);
}
.lp-label::before {
	content: "";
	width: 24px;
	height: 3px;
	border-radius: 2px;
	background: var(--czs-brand-primary);
}
.lp-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
	flex-wrap: wrap;
}
.lp-section__title {
	font-family: var(--czs-font-display);
	font-stretch: expanded;
	font-weight: 900;
	font-size: clamp(1.6rem, 3.4vw, 2.3rem);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--czs-text-primary);
	margin: 0;
}

/* =============================================================================
   HERO
============================================================================= */
.lp-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.lp-hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto auto;
	width: 620px;
	height: 620px;
	background: radial-gradient(circle, rgb(var(--czs-brand-primary-rgb) / 0.10), transparent 62%);
	pointer-events: none;
}
.lp-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2rem;
	align-items: center;
}
.lp-hero__stamp {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--czs-font-display);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--czs-brand-primary);
	margin: 0 0 1.1rem;
}
.lp-hero__stamp-rule { width: 34px; height: 2px; background: var(--czs-brand-primary); border-radius: 2px; }
.lp-hero__stamp-year { color: var(--czs-brand-primary); font-family: var(--czs-font-mono); }
.lp-hero__stamp-sep,
.lp-hero__stamp-br { color: var(--czs-text-muted); }

/* --- Wordmark canônico — PRESERVADO do design original (não mexer) ---
   Política fixa (memory/logo-wordmark-policy.md): CZS verde-lima, BRASIL branco,
   fonte display, escala dramática, entrada letra-a-letra em stagger. Portado
   verbatim do home.css pra manter a marca idêntica. */
@keyframes homeWordmarkLetter {
	0%   { opacity: 0; translate: 0 0.6em; filter: blur(8px); }
	60%  { opacity: 1; filter: blur(0);                       }
	100% { opacity: 1; translate: 0 0;     filter: blur(0);   }
}
.home-hero__wordmark {
	position: relative;
	line-height: 0.9;
	margin: 0 0 1.4rem;
}
.home-hero__wordmark-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 clamp(0.3rem, 1vw, 0.65rem);
	/* Wordmark PRESERVADO na fonte original 'Goldman' (não usar o token de
	   display, que agora é Archivo). Política fixa da marca. */
	font-family: 'Goldman', system-ui, sans-serif;
	font-weight: 700;
	font-size: clamp(2.75rem, 9vw, 6.25rem);
	line-height: 0.9;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	color: var(--czs-text-primary);
}
.home-hero__wordmark-seg {
	display: inline-flex;
	white-space: nowrap;
}
.home-hero__wordmark-seg[data-segment="czs"] {
	color: var(--czs-logo-green);
	text-shadow:
		0 0 0.18em rgb(var(--czs-logo-green-rgb) / 0.32),
		0 0 0.55em rgb(var(--czs-logo-green-rgb) / 0.18);
}
.home-hero__wordmark-seg[data-segment="brasil"] {
	color: var(--czs-text-primary);
}
.home-hero__wordmark-seg > span {
	display: inline-block;
	animation: homeWordmarkLetter 900ms var(--czs-ease-out) both;
	animation-delay: calc(120ms + var(--i) * 55ms);
	will-change: transform, opacity, filter;
}
@media (prefers-reduced-motion: reduce) {
	.home-hero__wordmark-seg > span { animation: none; }
}

.lp-hero__lede {
	font-size: 1.15rem;
	color: var(--czs-text-secondary);
	max-width: 34rem;
	margin: 0 0 0.5rem;
}
.lp-hero__lede strong { color: var(--czs-text-primary); }
.lp-hero__tagline {
	color: var(--czs-text-muted);
	max-width: 32rem;
	margin: 0 0 1.75rem;
}
.lp-hero__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.lp-hero__live {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--czs-success);
	padding: 0.4rem 0.75rem;
	border-radius: var(--czs-radius-full);
	background: var(--czs-success-soft);
	opacity: 0;
	transition: opacity 0.36s var(--czs-ease);
}
.lp-hero__live[data-live="true"] { opacity: 1; }
.lp-hero__live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--czs-success); box-shadow: 0 0 8px var(--czs-success); }

/* Character visual */
.lp-hero__visual { display: flex; justify-content: center; }
.lp-hero__visual img {
	width: 100%;
	max-width: 360px;
	height: auto;
	filter: drop-shadow(0 24px 48px rgb(var(--czs-brand-primary-rgb) / 0.18));
}

/* Stats strip */
.lp-hero__stats {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 1.75rem;
	border-top: 1px solid var(--czs-border);
}
.lp-stat__num {
	font-family: var(--czs-font-display);
	font-stretch: expanded;
	font-weight: 900;
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	line-height: 1;
}
.lp-stat__num .u { color: var(--czs-brand-primary); }
.lp-stat__label {
	margin-top: 0.4rem;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: var(--czs-text-muted);
	text-transform: uppercase;
}

/* =============================================================================
   GAMES GRID
============================================================================= */
.lp-games__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}
.lp-game {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: 1.4rem;
	background: var(--czs-bg-elevated);
	border: 1px solid var(--czs-border);
	border-radius: var(--czs-radius-lg);
	transition: transform 0.18s var(--czs-ease), border-color 0.18s var(--czs-ease);
}
.lp-game:hover { transform: translateY(-4px); border-color: var(--czs-border-strong); }
.lp-game__logo {
	width: 52px; height: 52px;
	border-radius: var(--czs-radius-md);
	background: var(--czs-bg-input);
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
}
.lp-game__logo img { width: 40px; height: 40px; object-fit: contain; }
.lp-game__name {
	font-family: var(--czs-font-display);
	font-stretch: expanded;
	font-weight: 800;
	font-size: 1.05rem;
	color: var(--czs-text-primary);
	margin: 0;
}
.lp-game__foot {
	margin-top: auto;
	display: flex; align-items: center; justify-content: space-between;
	padding-top: 0.9rem;
	border-top: 1px solid var(--czs-border);
}
.lp-pill {
	display: inline-flex; align-items: center; gap: 0.4rem;
	font-family: var(--czs-font-display);
	font-weight: 700; font-size: 0.72rem;
	padding: 0.25rem 0.6rem; border-radius: var(--czs-radius-full);
}
.lp-pill__dot { width: 7px; height: 7px; border-radius: 50%; }
.lp-pill--on { background: var(--czs-success-soft); color: var(--czs-success); }
.lp-pill--on .lp-pill__dot { background: var(--czs-success); box-shadow: 0 0 7px var(--czs-success); }
.lp-pill--off { background: var(--czs-danger-soft); color: var(--czs-danger); }
.lp-pill--off .lp-pill__dot { background: var(--czs-danger); }
.lp-game__arrow { color: var(--czs-text-muted); transition: color 0.15s var(--czs-ease), transform 0.15s var(--czs-ease); }
.lp-game:hover .lp-game__arrow { color: var(--czs-brand-primary); transform: translateX(3px); }

/* =============================================================================
   FEATURED SERVER
============================================================================= */
.lp-featured {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 2rem;
	align-items: center;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background:
		radial-gradient(60% 90% at 100% 0%, rgb(var(--czs-brand-primary-rgb) / 0.08), transparent 60%),
		var(--czs-bg-elevated);
	border: 1px solid var(--czs-border);
	border-radius: var(--czs-radius-xl);
}
.lp-featured__thumb {
	aspect-ratio: 1;
	border-radius: var(--czs-radius-lg);
	background: var(--czs-bg-input);
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
}
.lp-featured__thumb img { width: 70%; height: 70%; object-fit: contain; }
.lp-featured__game {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: var(--czs-font-mono);
	font-size: 0.78rem; color: var(--czs-brand-primary);
	text-transform: uppercase; letter-spacing: 0.08em;
	margin: 0 0 0.6rem;
}
.lp-featured__name {
	font-family: var(--czs-font-display);
	font-stretch: expanded; font-weight: 900;
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.05; margin: 0 0 0.75rem;
	text-transform: uppercase;
	color: var(--czs-text-primary);
}
.lp-featured__desc { color: var(--czs-text-secondary); max-width: 46rem; margin: 0 0 1.1rem; line-height: 1.6; }

/* =============================================================================
   FEATURES (por que a CZS)
============================================================================= */
.lp-features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}
.lp-feature {
	padding: 1.6rem;
	background: var(--czs-bg-elevated);
	border: 1px solid var(--czs-border);
	border-radius: var(--czs-radius-lg);
}
.lp-feature__icon {
	width: 46px; height: 46px;
	border-radius: var(--czs-radius-md);
	background: var(--czs-brand-primary-soft);
	color: var(--czs-brand-primary);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.25rem;
	margin-bottom: 1rem;
}
.lp-feature__title { font-family: var(--czs-font-display); font-weight: 800; font-size: 1.05rem; margin: 0 0 0.4rem; color: var(--czs-text-primary); }
.lp-feature__text { color: var(--czs-text-muted); font-size: 0.9rem; margin: 0; line-height: 1.55; }

/* =============================================================================
   CTA FINAL (Partiu Discord)
============================================================================= */
.lp-cta__card {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
	background:
		radial-gradient(70% 120% at 50% 0%, rgb(var(--czs-brand-primary-rgb) / 0.10), transparent 60%),
		var(--czs-bg-elevated);
	border: 1px solid var(--czs-border);
	border-radius: var(--czs-radius-xl);
}
.lp-cta__title {
	font-family: var(--czs-font-hero);
	font-size: clamp(2rem, 5vw, 3.2rem);
	line-height: 0.98;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	color: var(--czs-text-primary);
}
.lp-cta__title .lm { color: var(--czs-logo-green); }
.lp-cta__text {
	color: var(--czs-text-secondary);
	max-width: 34rem;
	margin: 0 auto 1.75rem;
	font-size: 1.05rem;
	line-height: 1.55;
}
.lp-cta__actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* =============================================================================
   RESPONSIVE
============================================================================= */
@media (max-width: 880px) {
	.lp-hero__grid { grid-template-columns: 1fr; }
	.lp-hero__visual { display: none; }
	.lp-featured { grid-template-columns: 1fr; text-align: left; }
	.lp-featured__thumb { max-width: 160px; }
}
