/* ============================================================================
   LUMALUX — Libro V2 (landing di lancio)
   "Come mi sono innamorato della bava di lumaca" — Mirko Bossoni
   Dark luxury nero/oro come la copertina. Taglio editoriale: piu' serif,
   piu' respiro fra i blocchi, meno elementi decorativi che su una pagina
   prodotto. Prefisso classi: .lb-  |  wrapper: .lumalux-libro-v2
   ============================================================================ */

:root {
	--lb-bg:        #0a0a0a;
	--lb-bg-2:      #101010;
	--lb-surface:   #161616;
	--lb-surface-2: #1c1c1c;
	--lb-border:    rgba(186, 153, 63, 0.24);
	--lb-border-2:  rgba(255, 255, 255, 0.07);
	--lb-gold:      #BA993F;
	--lb-gold-2:    #d4b65a;
	--lb-gold-3:    #f0dca0;
	--lb-gold-soft: rgba(186, 153, 63, 0.10);
	--lb-text:      #f5f1e6;
	--lb-text-soft: #e7decf;
	--lb-muted:     #a8a08d;
	--lb-muted-2:   #7d776a;
	--lb-font:      'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	--lb-serif:     'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

.lumalux-libro-v2 {
	background: var(--lb-bg);
	color: var(--lb-text);
	font-family: var(--lb-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
.lumalux-libro-v2 *,
.lumalux-libro-v2 *::before,
.lumalux-libro-v2 *::after { box-sizing: border-box; }
.lumalux-libro-v2 a { text-decoration: none; color: inherit; }
.lumalux-libro-v2 img { max-width: 100%; height: auto; display: block; }
.lumalux-libro-v2 p { margin: 0 0 1em; }
/* Varie classi qui sotto impongono flex: senza questo l'attributo hidden del
   form non nasconderebbe niente. */
.lumalux-libro-v2 [hidden] { display: none !important; }

/* ─── Primitive ─────────────────────────────────────────── */
.lb-inner { max-width: 1240px; margin: 0 auto; padding: 104px 40px; }
.lb-inner-narrow { max-width: 860px; }
.lb-center { text-align: center; }

.lb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--lb-gold);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	margin: 0 0 22px;
	line-height: 1.4;
}
.lb-center .lb-eyebrow { justify-content: center; }

.lb-title {
	font-family: var(--lb-serif);
	font-size: clamp(32px, 4.6vw, 54px);
	font-weight: 400;
	line-height: 1.08;
	color: var(--lb-text);
	margin: 0 0 26px;
}
.lb-title em { font-style: italic; color: var(--lb-gold-2); }
.lb-title-sm { font-size: clamp(26px, 3.4vw, 38px); }

.lb-lead {
	font-size: 17px;
	line-height: 1.8;
	color: var(--lb-muted);
	max-width: 68ch;
	margin: 0 0 24px;
}
.lb-center .lb-lead { margin-left: auto; margin-right: auto; }
.lb-lead strong { color: var(--lb-text-soft); font-weight: 600; }

.lb-rule {
	width: 76px; height: 1px; border: 0; margin: 0 0 34px;
	background: linear-gradient(90deg, var(--lb-gold), transparent);
}
.lb-center .lb-rule {
	margin-left: auto; margin-right: auto;
	background: linear-gradient(90deg, transparent, var(--lb-gold), transparent);
}

/* Bottoni */
.lb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 17px 34px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-family: inherit;
	line-height: 1;
	cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.lb-btn-primary {
	background: linear-gradient(135deg, var(--lb-gold) 0%, var(--lb-gold-2) 100%);
	color: #0a0a0a;
	box-shadow: 0 10px 34px rgba(186, 153, 63, 0.24);
}
.lb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(186, 153, 63, 0.36); color: #0a0a0a; }
.lb-btn-ghost { background: transparent; color: var(--lb-text-soft); border-color: var(--lb-border); }
.lb-btn-ghost:hover { border-color: var(--lb-gold); color: var(--lb-gold-2); transform: translateY(-2px); }
.lb-btn:focus-visible { outline: 2px solid var(--lb-gold-2); outline-offset: 3px; }

/* ─── HERO ──────────────────────────────────────────────── */
.lb-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(1000px 680px at 70% 44%, rgba(186,153,63,0.13), transparent 62%), var(--lb-bg);
}
.lb-hero::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 170px;
	background: linear-gradient(180deg, transparent, var(--lb-bg)); pointer-events: none;
}
.lb-hero-grid {
	position: relative; z-index: 2;
	max-width: 1240px; margin: 0 auto;
	padding: 92px 40px 108px;
	display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
.lb-hero-content { min-width: 0; }

.lb-hero-title {
	margin: 0 0 20px;
	font-weight: 400;
}
.lb-hero-name {
	display: block;
	font-family: var(--lb-serif);
	font-size: clamp(34px, 4.4vw, 58px);
	line-height: 1.04;
	letter-spacing: 0.01em;
	background: linear-gradient(140deg, var(--lb-gold-3) 0%, var(--lb-gold-2) 44%, var(--lb-gold) 100%);
	-webkit-background-clip: text; background-clip: text;
	color: transparent; -webkit-text-fill-color: transparent;
}
.lb-hero-sub {
	display: block;
	margin: 18px 0 0;
	font-family: var(--lb-font);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--lb-muted);
	max-width: 42ch;
}
.lb-hero-author {
	font-size: 13px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--lb-muted-2);
	margin: 0 0 26px;
}
.lb-hero-author strong { color: var(--lb-text-soft); font-weight: 600; }

.lb-hero-quote {
	font-family: var(--lb-serif);
	font-size: clamp(19px, 2.1vw, 25px);
	font-style: italic;
	line-height: 1.5;
	color: var(--lb-text-soft);
	border-left: 2px solid var(--lb-gold);
	padding: 4px 0 4px 22px;
	margin: 0 0 30px;
	max-width: 46ch;
}

.lb-hero-meta {
	display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
	margin: 0 0 28px;
}
.lb-price {
	font-family: var(--lb-serif);
	font-size: 36px;
	line-height: 1;
	color: var(--lb-gold-2);
}
.lb-badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 18px;
	border: 1px solid var(--lb-border); border-radius: 999px;
	background: var(--lb-gold-soft); color: var(--lb-gold-2);
	font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.lb-badge .lb-dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--lb-gold-2);
	animation: lb-pulse 2.4s infinite; flex: 0 0 auto;
}
@keyframes lb-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(212, 182, 90, 0.55); }
	70%  { box-shadow: 0 0 0 10px rgba(212, 182, 90, 0); }
	100% { box-shadow: 0 0 0 0 rgba(212, 182, 90, 0); }
}

.lb-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Copertina */
.lb-hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.lb-hero-visual::before {
	content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(186,153,63,0.26), transparent 66%);
	filter: blur(30px); pointer-events: none;
}
.lb-cover { position: relative; width: 100%; max-width: 460px; }
.lb-cover img { width: 100%; filter: drop-shadow(0 34px 70px rgba(0,0,0,0.7)); }

/* Segnaposto finché non arrivano i file della copertina */
.lb-cover-todo {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 14px; text-align: center;
	aspect-ratio: 1 / 1;
	border: 1px dashed var(--lb-border);
	border-radius: 4px;
	background: var(--lb-surface);
	padding: 32px;
	color: var(--lb-muted-2);
}
.lb-cover-todo strong {
	font-family: var(--lb-serif); font-size: 22px; font-style: italic;
	color: var(--lb-gold-2); font-weight: 400;
}
.lb-cover-todo span { font-size: 12px; letter-spacing: 0.1em; line-height: 1.7; }

/* ─── Blocco domanda / apertura ─────────────────────────── */
.lb-domanda { background: var(--lb-bg-2); border-top: 1px solid var(--lb-border-2); }
.lb-domanda-q {
	font-family: var(--lb-serif);
	font-size: clamp(24px, 3.4vw, 40px);
	font-style: italic;
	line-height: 1.34;
	color: var(--lb-gold-2);
	margin: 0 0 32px;
}

/* ─── Griglia domande ───────────────────────────────────── */
.lb-questions {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2px; margin: 40px 0 0;
	background: var(--lb-border-2);
	border: 1px solid var(--lb-border-2); border-radius: 3px; overflow: hidden;
}
.lb-question { background: var(--lb-surface); padding: 32px 26px; }
.lb-question span {
	display: block; font-family: var(--lb-serif); font-size: 26px;
	color: var(--lb-gold); opacity: 0.6; line-height: 1; margin: 0 0 12px;
}
.lb-question p {
	margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--lb-text-soft);
	font-family: var(--lb-serif); font-size: 19px; font-style: italic;
}

/* ─── Contrasto "non troverai / troverai" ───────────────── */
.lb-contrasto { background: var(--lb-bg); border-top: 1px solid var(--lb-border-2); }
.lb-contrasto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0 0; }
.lb-box { border: 1px solid var(--lb-border-2); border-radius: 3px; padding: 32px 28px; background: var(--lb-surface); }
.lb-box h3 {
	margin: 0 0 18px; font-size: 11px; font-weight: 700;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--lb-muted);
}
.lb-box-si { border-color: var(--lb-border); background: linear-gradient(180deg, var(--lb-surface-2), var(--lb-surface)); }
.lb-box-si h3 { color: var(--lb-gold); }
.lb-box ul { list-style: none; margin: 0; padding: 0; }
.lb-box li {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 10px 0; font-size: 15px; line-height: 1.6; color: var(--lb-text-soft);
}
.lb-box li svg { flex: 0 0 auto; margin-top: 3px; }
.lb-box-no li { color: var(--lb-muted); }
.lb-box-no li svg { color: var(--lb-muted-2); }
.lb-box-si li svg { color: var(--lb-gold); }

/* ─── Dentro il libro ───────────────────────────────────── */
.lb-dentro { background: var(--lb-bg-2); border-top: 1px solid var(--lb-border-2); }
.lb-capitoli { list-style: none; counter-reset: lb-cap; margin: 44px 0 0; padding: 0; display: grid; gap: 2px;
	background: var(--lb-border-2); border: 1px solid var(--lb-border-2); border-radius: 3px; overflow: hidden; }
.lb-capitoli li {
	counter-increment: lb-cap;
	display: flex; align-items: flex-start; gap: 22px;
	padding: 24px 30px; background: var(--lb-surface);
	font-size: 15.5px; line-height: 1.65; color: var(--lb-text-soft);
}
.lb-capitoli li::before {
	content: counter(lb-cap, decimal-leading-zero);
	font-family: var(--lb-serif); font-size: 22px; line-height: 1.3;
	color: var(--lb-gold); min-width: 40px; flex: 0 0 auto; opacity: 0.8;
}

/* ─── Spirito critico ───────────────────────────────────── */
.lb-critico {
	position: relative;
	background: radial-gradient(760px 460px at 50% 20%, rgba(186,153,63,0.14), transparent 64%), var(--lb-bg);
	border-top: 1px solid var(--lb-border-2);
}
.lb-critico-quote {
	font-family: var(--lb-serif);
	font-size: clamp(26px, 3.6vw, 44px);
	font-style: italic; line-height: 1.3;
	color: var(--lb-gold-2); margin: 0 0 28px;
}

/* ─── Per chi e' ────────────────────────────────────────── */
.lb-perchi { background: var(--lb-bg-2); border-top: 1px solid var(--lb-border-2); }
.lb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 44px 0 0; }
.lb-card {
	background: var(--lb-surface); border: 1px solid var(--lb-border-2); border-radius: 3px;
	padding: 30px 26px; transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.lb-card:hover { border-color: var(--lb-border); background: var(--lb-surface-2); transform: translateY(-3px); }
.lb-card-icon { width: 34px; height: 34px; margin: 0 0 16px; color: var(--lb-gold); }
.lb-card-icon svg { width: 100%; height: 100%; }
.lb-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--lb-text); line-height: 1.35; }
.lb-card p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--lb-muted); }
.lb-card-link { display: block; }
.lb-card-link:hover h3 { color: var(--lb-gold-2); }
.lb-card-more {
	display: inline-block; margin: 14px 0 0; font-size: 12px; font-weight: 700;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--lb-gold);
}

/* ─── Scheda tecnica ────────────────────────────────────── */
.lb-scheda { background: var(--lb-bg); border-top: 1px solid var(--lb-border-2); }
.lb-scheda-list {
	list-style: none; margin: 40px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 2px; background: var(--lb-border-2);
	border: 1px solid var(--lb-border-2); border-radius: 3px; overflow: hidden;
}
.lb-scheda-list li { background: var(--lb-surface); padding: 26px 24px; }
.lb-scheda-list dt {
	font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em;
	text-transform: uppercase; color: var(--lb-muted-2); margin: 0 0 9px;
}
.lb-scheda-list dd { margin: 0; font-size: 15.5px; color: var(--lb-text-soft); line-height: 1.5; }
.lb-scheda-list dd strong { color: var(--lb-gold-2); font-weight: 600; }

/* ─── Form lista d'attesa ───────────────────────────────── */
.lb-avviso {
	position: relative;
	background: radial-gradient(760px 460px at 50% 12%, rgba(186,153,63,0.16), transparent 64%), var(--lb-bg-2);
	border-top: 1px solid var(--lb-border);
}
.lb-form { max-width: 560px; margin: 36px auto 0; text-align: left; }
.lb-field { margin: 0 0 16px; }
.lb-field label {
	display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--lb-muted); margin: 0 0 9px;
}
.lb-form input[type="email"], .lb-form input[type="text"] {
	width: 100%; padding: 16px 18px;
	background: var(--lb-surface); border: 1px solid var(--lb-border-2); border-radius: 2px;
	color: var(--lb-text); font-size: 15px; font-family: inherit;
	transition: border-color .25s ease, background .25s ease;
}
.lb-form input[type="email"]::placeholder { color: var(--lb-muted-2); }
.lb-form input[type="email"]:focus, .lb-form input[type="text"]:focus {
	outline: none; border-color: var(--lb-gold); background: var(--lb-surface-2);
}
.lb-consent {
	display: flex; align-items: flex-start; gap: 11px; margin: 0 0 22px;
	font-size: 12.5px; line-height: 1.65; color: var(--lb-muted);
}
.lb-consent input[type="checkbox"] {
	flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px;
	accent-color: var(--lb-gold); cursor: pointer;
}
.lb-consent a { color: var(--lb-gold-2); text-decoration: underline; }
.lb-form .lb-btn { width: 100%; }
.lb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lb-form-note { margin: 18px 0 0; font-size: 12px; color: var(--lb-muted-2); text-align: center; line-height: 1.6; }
.lb-msg {
	margin: 0 0 20px; padding: 15px 18px; border-radius: 2px;
	font-size: 14px; line-height: 1.6;
	border: 1px solid var(--lb-border); background: var(--lb-gold-soft); color: var(--lb-gold-2);
}
.lb-msg-err { border-color: rgba(214,106,106,0.4); background: rgba(214,106,106,0.10); color: #e8a0a0; }
.lb-form.is-busy { opacity: 0.6; pointer-events: none; }

/* ─── Chiusura ──────────────────────────────────────────── */
.lb-closing { background: var(--lb-bg); border-top: 1px solid var(--lb-border-2); text-align: center; }
.lb-closing-quote {
	font-family: var(--lb-serif); font-size: clamp(24px, 3.4vw, 40px);
	font-style: italic; line-height: 1.32; margin: 0 0 34px;
	background: linear-gradient(140deg, var(--lb-gold-3), var(--lb-gold));
	-webkit-background-clip: text; background-clip: text;
	color: transparent; -webkit-text-fill-color: transparent;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
	.lb-inner { padding: 84px 32px; }
	.lb-hero-grid { grid-template-columns: 1fr; gap: 52px; padding: 72px 32px 88px; text-align: center; }
	.lb-hero-visual { order: -1; }
	.lb-cover { max-width: 380px; }
	.lb-hero-content .lb-eyebrow, .lb-hero-cta, .lb-hero-meta { justify-content: center; }
	.lb-hero-sub, .lb-hero-quote { margin-left: auto; margin-right: auto; }
	.lb-hero-quote { border-left: 0; border-top: 1px solid var(--lb-gold); padding: 20px 0 0; }
	.lb-contrasto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.lb-inner { padding: 66px 20px; }
	.lb-hero-grid { padding: 56px 20px 72px; }
	.lb-hero-cta { flex-direction: column; }
	.lb-hero-cta .lb-btn { width: 100%; }
	.lb-hero-meta { flex-direction: column; gap: 12px; }
	.lb-capitoli li { flex-direction: column; gap: 8px; padding: 22px 20px; }
	.lb-capitoli li::before { min-width: 0; font-size: 18px; }
	.lb-question { padding: 26px 20px; }
	.lb-box { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.lumalux-libro-v2 *, .lumalux-libro-v2 *::before, .lumalux-libro-v2 *::after {
		animation-duration: .01ms !important; animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
