/* FoodMamy Libri — pagina del libro */
.fml {
	--ink: #0a0907;
	--ink-2: #15110c;
	--gold: #e9a23b;
	--gold-l: #f8d58f;
	--gold-d: #b8761f;
	--cream: #f4ede2;
	--cream-m: rgba(244, 237, 226, .7);
	--text: #18240A;
	--muted: #5f6359;
	--line: #ece6dc;
	--green: #18240A;
	--green-l: #7FB951;
	/* Font del sito per tutti i testi della pagina; il serif solo per il titolo del libro,
	   il libro 3D e le pagine dello sfogliabile (riproducono il libro stampato). */
	--site-h: var(--theme-font-h2_font-family, semplicitapro, sans-serif);
	--site-p: var(--theme-font-p_font-family, 'Kumbh Sans', sans-serif);
	--serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
	--book: 'EB Garamond', Georgia, serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color: var(--text);
	overflow: clip;
	font-size: 17px;
	line-height: 1.6;
}
.fml *, .fml *::before, .fml *::after { box-sizing: border-box; }
.fml h1, .fml h2, .fml h3 { font-family: var(--site-h); font-weight: 600; letter-spacing: -.3px; margin: 0; text-transform: none; }
.fml p { margin: 0; }
.fml mark { background: none; color: inherit; font: inherit; padding: 0; }
.fml-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.fml-wrap--narrow { max-width: 860px; }
.fml-ico { width: 1.15em; height: 1.15em; flex: none; }

.fml-label, .fml-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
	color: var(--gold-d); margin-bottom: 18px;
}
.fml-label::before, .fml-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.fml-head { text-align: center; max-width: 840px; margin: 0 auto 56px; }
.fml-head .fml-label::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.fml-head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; color: var(--text); }
.fml-head__sub { margin-top: 16px !important; color: var(--muted); font-size: 17px; }
.fml-head--light h2 { color: var(--cream); }
.fml-head--light .fml-head__sub { color: var(--cream-m); }
.fml-head--light .fml-label { color: var(--gold); }

/* ---------- Pulsanti ---------- */
.fml-buy { display: flex; flex-wrap: wrap; margin: -7px; }
.fml-buy > * { margin: 7px; }
.fml-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 26px; border-radius: 999px;
	font-family: var(--theme-font-button_font-family, semplicitapro, sans-serif); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none !important;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
	overflow: hidden; isolation: isolate;
}
.fml-btn em { font-style: normal; font-weight: 500; opacity: .75; margin-left: 4px; }
.fml-btn:hover { transform: translateY(-2px); }
.fml-btn--gold { background: linear-gradient(135deg, #fbe0a4, var(--gold) 55%, #d98b25); color: #1d1206 !important; box-shadow: 0 10px 30px -8px rgba(233, 162, 59, .65); }
.fml-btn--gold::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
	transform: translateX(-120%); animation: fml-shine 4.5s 2s infinite;
}
.fml-btn--gold:hover { box-shadow: 0 16px 40px -8px rgba(233, 162, 59, .85); }
.fml-btn--ghost { color: var(--cream) !important; border: 1px solid rgba(248, 213, 143, .45); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.fml-btn--ghost:hover { border-color: var(--gold-l); background: rgba(248, 213, 143, .1); }
.fml-btn--dark { background: var(--ink); color: var(--gold-l) !important; box-shadow: 0 12px 30px -14px rgba(10, 9, 7, .8); }
.fml-btn--dark:hover { background: #241a0e; }
.fml-btn--green { background: var(--green); color: #fff !important; }
.fml-btn--green:hover { background: #2a3d14; }
.fml-btn--line { color: var(--green) !important; border: 1px solid var(--green); }
.fml-btn--line:hover { background: var(--green); color: #fff !important; }
.fml-soon { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px dashed var(--gold); color: var(--gold); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
@keyframes fml-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- Libro 3D ---------- */
.fml-book3d { --w: 300px; --h: calc(var(--w) * 1.6); --d: calc(var(--w) * .1); position: relative; width: var(--w); height: var(--h); perspective: 1800px; }
.fml-book3d__inner {
	position: absolute; inset: 0; transform-style: preserve-3d;
	transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -30deg));
	transition: transform .9s var(--ease);
}
.fml-book3d__front, .fml-book3d__back, .fml-book3d__spine, .fml-book3d__pages, .fml-book3d__top { position: absolute; }
.fml-book3d__front {
	inset: 0; background: #050403 center / cover no-repeat; border-radius: 2px 5px 5px 2px;
	transform: translateZ(calc(var(--d) / 2)); overflow: hidden;
	box-shadow: inset 4px 0 6px -2px rgba(255, 255, 255, .18), inset 10px 0 18px -10px rgba(0, 0, 0, .9);
}
.fml-book3d__shine {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 240, 210, .22) 48%, transparent 60%);
	background-size: 250% 100%; background-position: var(--shine, 100%) 0; transition: background-position .9s var(--ease);
}
.fml-book3d__back { inset: 0; background: #0b0907; border-radius: 5px 2px 2px 5px; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.fml-book3d__spine {
	top: 0; left: 0; width: var(--d); height: var(--h);
	transform: rotateY(-90deg) translateZ(calc(var(--d) / 2));
	background: linear-gradient(90deg, #050403, #1a140d 45%, #050403);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 18px 0;
}
.fml-book3d__spine span, .fml-book3d__spine small { writing-mode: vertical-rl; color: var(--gold-l); font-family: var(--serif); letter-spacing: .25em; }
.fml-book3d__spine span { font-size: calc(var(--d) * .55); }
.fml-book3d__spine small { font-size: calc(var(--d) * .3); opacity: .8; letter-spacing: .12em; }
.fml-book3d__pages {
	top: 3px; left: calc(var(--w) - var(--d)); width: var(--d); height: calc(var(--h) - 6px);
	transform: rotateY(90deg) translateZ(calc(var(--d) / 2 - 3px));
	background: repeating-linear-gradient(90deg, #f5efe3 0 1px, #ddd4c4 1px 2px), #efe8db;
}
.fml-book3d__top {
	top: 0; left: 0; width: calc(var(--w) - 3px); height: var(--d);
	transform: rotateX(90deg) translateZ(calc(var(--d) / 2));
	background: repeating-linear-gradient(0deg, #f5efe3 0 1px, #ddd4c4 1px 2px);
}
.fml-book3d__glow {
	position: absolute; left: 50%; top: 50%; width: 170%; height: 120%; transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, rgba(233, 162, 59, .38), rgba(233, 162, 59, .08) 60%, transparent);
	filter: blur(10px); animation: fml-breathe 5s ease-in-out infinite; pointer-events: none;
}
.fml-book3d__shadow {
	position: absolute; left: 8%; right: -4%; bottom: -34px; height: 30px;
	background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); filter: blur(6px);
}
@keyframes fml-breathe { 0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(.96); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }
@keyframes fml-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Hero ---------- */
.fml-hero {
	position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
	background: radial-gradient(120% 90% at 70% 40%, #1d150b 0%, var(--ink) 55%) var(--ink);
	color: var(--cream); padding: 150px 0 110px; isolation: isolate;
}
.fml-sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.fml-hero__beam {
	position: absolute; z-index: -1; top: 0; bottom: 0; left: 72%; width: 1px;
	background: linear-gradient(180deg, transparent, rgba(248, 213, 143, .55) 30%, rgba(248, 213, 143, .55) 70%, transparent);
	box-shadow: 0 0 12px 2px rgba(233, 162, 59, .35); transform-origin: top; animation: fml-beam 2.2s .2s var(--ease) both;
}
@keyframes fml-beam { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.fml-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.fml-hero .fml-kicker { color: var(--gold); }
.fml-hero__title {
	font-family: var(--serif) !important; font-weight: 400 !important; color: var(--gold-l) !important;
	font-size: clamp(84px, 13vw, 176px) !important; line-height: .9 !important; letter-spacing: .06em !important;
	margin: 0 0 22px !important; display: flex;
}
.fml-hero__title span {
	display: inline-block;
	background: linear-gradient(180deg, #fff3d6 10%, var(--gold-l) 45%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	text-shadow: 0 0 40px rgba(233, 162, 59, .35);
	animation: fml-letter 1.3s calc(.25s + var(--i) * .12s) var(--ease) both;
}
@keyframes fml-letter { from { opacity: 0; transform: translateY(40px) scale(.96); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.fml-hero__sub { font-family: var(--site-h); font-weight: 600; letter-spacing: -.2px; font-size: clamp(21px, 2vw, 27px); line-height: 1.3; color: var(--cream); max-width: 560px; margin-bottom: 18px !important; }
.fml-hero__pitch { color: var(--cream-m); max-width: 520px; margin-bottom: 34px !important; }
.fml-rise { animation: fml-rise 1s var(--d, 0s) var(--ease) both; }
@keyframes fml-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fml-facts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--cream-m); }
.fml-facts li { margin: 0; padding: 0; }
.fml-facts li::before { content: none; }
.fml-facts a { color: inherit !important; text-decoration: none; }
.fml-facts strong { color: var(--cream); }
.fml-stars { color: var(--gold); letter-spacing: 2px; }
.fml-hero__book { position: relative; justify-self: center; display: flex; flex-direction: column; align-items: center; text-decoration: none !important; }
.fml-book3d--hero { --w: clamp(220px, 24vw, 320px); animation: fml-float 7s ease-in-out infinite; }
.fml-hero__hint {
	margin-top: 64px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-l); font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
	opacity: .8; transition: opacity .3s, gap .3s;
}
.fml-hero__book:hover .fml-hero__hint { opacity: 1; gap: 12px; }
.fml-hero__book:hover .fml-book3d__inner { --ry: -12deg; }
.fml-scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(248, 213, 143, .5); border-radius: 20px; }
.fml-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold-l); animation: fml-wheel 2s infinite; }
@keyframes fml-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Storia (parole che si accendono) ---------- */
.fml-story { background: #fff; padding: 140px 0 50px; }
.fml-story__text p { font-family: var(--site-h); font-weight: 500; letter-spacing: -.2px; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.38; margin-bottom: 1em !important; color: var(--green); }
.fml-story__text p.is-lead { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.12; font-weight: 600; letter-spacing: -.6px; }
.fml-story__text .w { transition: color .5s, opacity .5s; opacity: .14; }
.fml-story__text .w.on { opacity: 1; }
.fml-story__text mark .w.on { background: linear-gradient(90deg, var(--gold-d), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fml-story__text mark { font-weight: 600; }

/* ---------- Sfoglia ---------- */
.fml-flip { background: #fff; padding: 40px 0 130px; position: relative; }
.fml-flip::before {
	content: ""; position: absolute; left: 50%; top: 52%; width: min(1100px, 100%); height: 520px; transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, rgba(233, 162, 59, .14), transparent); pointer-events: none;
}
.fml-flip__stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.fml-flip__src { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; padding-bottom: 10px; }
.fml-flip__src .fml-page { flex: none; width: 300px; height: 470px; scroll-snap-align: center; }
.fml-flip.is-ready .fml-flip__src { display: none; }
.fml-flip__ui { display: none; }
.fml-flip.is-ready .fml-flip__ui { display: flex; align-items: center; gap: 22px; margin-top: 46px; }
.fml-flip__book { position: relative; perspective: 2600px; transition: transform .9s var(--ease); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.fml-flip__book::after {
	content: ""; position: absolute; left: 6%; right: 6%; bottom: -26px; height: 26px;
	background: radial-gradient(closest-side, rgba(40, 25, 5, .3), transparent); pointer-events: none;
}
.fml-leaf {
	position: absolute; top: 0; height: 100%; transform-style: preserve-3d; transform-origin: left center;
	transition: transform 1s var(--ease); cursor: grab;
}
.fml-leaf.is-flipped { transform: rotateY(-180deg); }
.fml-leaf.is-drag { transition: none; cursor: grabbing; }
.fml-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.fml-face--back { transform: rotateY(180deg); }
.fml-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.fml-face--front::after { background: linear-gradient(90deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, .03) 7%, transparent 14%); }
.fml-face--back::after { background: linear-gradient(270deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, .03) 7%, transparent 14%); }
.fml-face .fml-page { width: 100%; height: 100%; }
.fml-flip.is-single .fml-leaf.is-flipped { opacity: 0; transition: transform 1s var(--ease), opacity .3s .55s; }
.fml-flip.is-single .fml-leaf { transition: transform 1s var(--ease), opacity .2s; }
.fml-corner {
	position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; pointer-events: none;
	background: linear-gradient(315deg, transparent 50%, rgba(255, 255, 255, .85) 50%, #ece3d2 70%, rgba(0, 0, 0, .2));
	border-top-left-radius: 4px; animation: fml-corner 2.6s ease-in-out infinite; transform-origin: bottom right; z-index: 3;
}
@keyframes fml-corner { 0%, 100% { transform: scale(.55); opacity: .7; } 50% { transform: scale(1); opacity: 1; } }

/* Pagine */
.fml-page {
	--pw: 380px; position: relative; background: #fbf8f2; color: #26221c;
	font-family: var(--book); font-size: calc(var(--pw) / 24); line-height: 1.45;
	padding: 11% 11% 10%; display: flex; flex-direction: column; overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}
.fml-page::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .7), transparent 60%), radial-gradient(90% 60% at 50% 110%, rgba(210, 190, 150, .18), transparent);
}
.fml-page--cover { padding: 0; background: #050403; }
.fml-page--cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fml-page--dark { background: #0c0a08; color: var(--cream); }
.fml-page--dark::before { opacity: 0; }
.fml-endline { position: absolute; left: 50%; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, var(--gold), transparent); box-shadow: 0 0 10px var(--gold); }
.fml-endline::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #fff4d8; box-shadow: 0 0 14px 6px rgba(233, 162, 59, .7); }
.fml-page--title { align-items: center; justify-content: center; text-align: center; }
.fml-pg-author { letter-spacing: .3em; text-transform: uppercase; font-size: .8em; color: #6d6458; }
.fml-pg-title { font-family: var(--serif); font-size: 3.4em; letter-spacing: .12em; line-height: 1.1; margin: .25em 0 !important; color: #1e1a14; }
.fml-pg-star { width: 1px; height: 3em; background: linear-gradient(180deg, transparent, var(--gold-d), transparent); margin: .4em 0 .8em; }
.fml-pg-sub { font-style: italic; font-size: .95em; color: #6d6458; max-width: 80%; }
.fml-page--epi { justify-content: center; text-align: center; }
/* Le citazioni del tema hanno sfondo, font, allineamento e trattino verde propri: qui si azzera tutto. */
.fml blockquote { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; text-align: center; box-shadow: none !important; }
.fml blockquote::before, .fml blockquote::after, .fml blockquote cite::before, .fml blockquote cite::after { content: none !important; display: none !important; }
.fml blockquote cite { padding: 0 !important; }
.fml-page--epi p { font-family: var(--book) !important; font-style: italic !important; font-size: 1.12em !important; line-height: 1.5 !important; color: #26221c !important; text-align: center !important; }
.fml-page--epi cite { display: block; margin: 1.2em 0 0 !important; font-family: var(--book) !important; font-style: italic; font-weight: 400 !important; font-size: 1em !important; line-height: 1.4 !important; color: #6d6458 !important; text-align: center !important; }
.fml-pg-h { font-family: var(--serif); font-size: 1.9em; letter-spacing: .08em; text-align: center; margin-bottom: .8em !important; color: #1e1a14; }
.fml-pg-h--cont { font-size: 1em; letter-spacing: .3em; text-transform: uppercase; color: #8b8172; }
.fml-page--toc ol { list-style: none; margin: 0; padding: 0; }
.fml-page--toc li { margin: 0 0 .25em; padding: 0; }
.fml-page--toc li::before { content: none; }
.fml-page--toc button {
	all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 1.6em 1fr auto; gap: .4em; width: 100%;
	padding: .34em .3em; border-radius: 4px; font-family: var(--book); font-size: .96em; line-height: 1.28; color: #26221c; transition: background .25s, color .25s;
}
.fml-page--toc button:hover, .fml-page--toc button:focus-visible { background: rgba(233, 162, 59, .14); color: #000; }
.fml-page--toc .n { color: var(--gold-d); }
.fml-page--toc .p { color: #8b8172; font-variant-numeric: tabular-nums; }
.fml-page--inside { justify-content: center; }
.fml-page--inside ul { list-style: none; margin: 0; padding: 0; }
.fml-page--inside li { position: relative; margin: 0 0 .9em; padding: 0 0 0 1.4em; font-size: 1.05em; }
.fml-page--inside li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold-d); font-size: .8em; }
.fml-page--back { justify-content: center; text-align: center; padding: 14% 12%; }
.fml-back-claim { font-family: var(--site-h); font-weight: 600; font-size: 1.2em; line-height: 1.38; color: var(--gold-l); }
.fml-back-line { display: block; width: 60%; height: 1px; margin: 1.6em auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 8px var(--gold); }
.fml-back-bio { font-family: var(--site-p); font-size: .74em; line-height: 1.6; color: var(--cream-m); }
.fml-page.is-blank { background: #fbf8f2; }

.fml-round {
	all: unset; box-sizing: border-box; cursor: pointer; width: 54px; height: 54px; border-radius: 50%;
	display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--text);
	transition: background .25s, color .25s, border-color .25s, transform .25s, opacity .25s;
}
.fml-round:hover { background: var(--ink); border-color: var(--ink); color: var(--gold-l); transform: scale(1.06); }
.fml-round:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.fml-round[disabled] { opacity: .3; pointer-events: none; }
.fml-round .fml-ico { width: 22px; height: 22px; }
.fml-flip__more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 44px; text-align: center; }
.fml-flip__more p { color: var(--muted); font-size: 16px; max-width: 460px; }
.fml-flip__status { min-width: 200px; text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fml-flip__bar { display: block; height: 2px; margin-top: 10px; background: var(--line); border-radius: 2px; overflow: hidden; }
.fml-flip__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-d), var(--gold)); transition: width .8s var(--ease); }

/* ---------- Il viaggio ---------- */
.fml-path { position: relative; background: radial-gradient(80% 60% at 50% 0%, #1b140b, var(--ink) 70%) var(--ink); color: var(--cream); padding: 130px 0; }
.fml-path__track { position: relative; max-width: 980px; margin: 0 auto; padding: 10px 0; }
.fml-path__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: rgba(248, 213, 143, .14); }
.fml-path__line i { position: absolute; left: 0; top: 0; width: 100%; height: var(--fill, 0%); background: linear-gradient(180deg, transparent, var(--gold) 6%, var(--gold-l)); box-shadow: 0 0 12px 1px rgba(233, 162, 59, .7); }
.fml-path__line i::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff6df; box-shadow: 0 0 18px 6px rgba(233, 162, 59, .8); }
.fml-path__group { position: relative; text-align: center; margin: 40px 0 34px !important; }
.fml-path__group span { position: relative; display: inline-block; padding: 8px 20px; border-radius: 999px; background: var(--ink); border: 1px solid rgba(248, 213, 143, .35); color: var(--gold-l); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.fml-path__item { position: relative; display: flex; width: 50%; padding: 0 56px 0 0; margin-bottom: 18px; justify-content: flex-end; }
.fml-path__item:nth-of-type(even) { margin-left: 50%; padding: 0 0 0 56px; justify-content: flex-start; }
.fml-path__dot {
	position: absolute; top: 18px; right: -19px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
	background: var(--ink); border: 1px solid rgba(248, 213, 143, .3); color: rgba(244, 237, 226, .5); font-family: var(--site-h); font-weight: 600; font-size: 14px;
	transition: all .6s var(--ease); z-index: 1;
}
.fml-path__item:nth-of-type(even) .fml-path__dot { right: auto; left: -19px; }
.fml-path__card {
	max-width: 400px; padding: 18px 24px; border-radius: 14px; border: 1px solid rgba(248, 213, 143, .1); background: rgba(255, 255, 255, .025);
	opacity: .35; transform: translateY(14px); transition: all .7s var(--ease);
}
.fml-path__card h3 { font-size: 23px !important; line-height: 1.25 !important; color: var(--cream) !important; }
.fml-path__card span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.fml-path__item.is-lit .fml-path__dot { background: linear-gradient(135deg, #fbe0a4, var(--gold)); color: #1d1206; border-color: transparent; box-shadow: 0 0 22px 2px rgba(233, 162, 59, .55); }
.fml-path__item.is-lit .fml-path__card { opacity: 1; transform: none; border-color: rgba(248, 213, 143, .22); background: rgba(255, 255, 255, .04); }
.fml-path__item.is-target .fml-path__card { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 40px -6px rgba(233, 162, 59, .6); }

/* ---------- Cosa troverai ---------- */
.fml-inside { background: #fff; padding: 130px 0 110px; }
.fml-inside__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.fml-card {
	--mx: 50%; --my: 50%; position: relative; padding: 32px 26px 30px; border-radius: 20px; border: 1px solid var(--line); background: #fff; overflow: hidden;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.fml-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(233, 162, 59, .16), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.fml-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(80, 50, 10, .3); border-color: rgba(233, 162, 59, .4); }
.fml-card:hover::before { opacity: 1; }
.fml-card__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 22px; background: var(--ink); color: var(--gold-l); }
.fml-card__ico .fml-ico { width: 26px; height: 26px; }
.fml-card h3 { font-size: 25px !important; line-height: 1.2 !important; color: var(--text) !important; margin-bottom: 10px !important; }
.fml-card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ---------- È per te ---------- */
.fml-forwho { background: linear-gradient(180deg, #fff, #fbf6ee); padding: 110px 0 130px; }
.fml-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fml-checks li { margin: 0; padding: 0; }
.fml-checks li::before { content: none; }
.fml-checks button {
	all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: center; gap: 18px;
	padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
	font-family: var(--site-h); font-weight: 500; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.38; color: var(--text);
	transition: border-color .3s, box-shadow .3s, transform .3s var(--ease), background .3s;
}
.fml-checks button:hover { border-color: rgba(233, 162, 59, .55); transform: translateX(4px); }
.fml-checks button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.fml-checks__box { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #d9cfbf; display: grid; place-items: center; color: transparent; transition: all .35s var(--ease); }
.fml-checks__box .fml-ico { width: 17px; height: 17px; transform: scale(.4); transition: transform .35s var(--ease); }
.fml-checks button[aria-pressed="true"] { border-color: var(--gold); background: #fffaf1; box-shadow: 0 10px 30px -18px rgba(233, 162, 59, .9); }
.fml-checks button[aria-pressed="true"] .fml-checks__box { background: linear-gradient(135deg, #fbe0a4, var(--gold)); border-color: transparent; color: #1d1206; }
.fml-checks button[aria-pressed="true"] .fml-checks__box .fml-ico { transform: scale(1); }
.fml-verdict { text-align: center; margin-top: 40px; }
.fml-verdict p { font-family: var(--site-h); font-weight: 600; letter-spacing: -.3px; font-size: clamp(22px, 2.2vw, 28px); color: var(--muted); transition: color .4s; }
.fml-verdict.is-yes p { color: var(--gold-d); }
.fml-verdict__cta { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .5s, margin .6s; }
.fml-verdict__cta > * { overflow: hidden; justify-content: center; }
.fml-verdict.is-yes .fml-verdict__cta { grid-template-rows: 1fr; opacity: 1; margin-top: 26px; }
.fml-forwho .fml-btn--ghost { color: var(--text) !important; border-color: #d9cfbf; background: #fff; }
.fml-forwho .fml-btn--ghost:hover { border-color: var(--gold); }

/* ---------- Citazione ---------- */
.fml-quote { position: relative; background: var(--ink); color: var(--cream); padding: 150px 0; text-align: center; overflow: hidden; }
.fml-quote__line { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--gold) 25%, var(--gold-l) 50%, var(--gold) 75%, transparent); box-shadow: 0 0 14px var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 2s var(--ease); opacity: .6;
	-webkit-mask-image: linear-gradient(180deg, #000 0, #000 24%, transparent 34%, transparent 66%, #000 76%, #000 100%); mask-image: linear-gradient(180deg, #000 0, #000 24%, transparent 34%, transparent 66%, #000 76%, #000 100%); }
.fml-quote.is-in .fml-quote__line { transform: scaleY(1); }
.fml-quote blockquote { position: relative; margin: 0; padding: 0; border: 0; background: none; }
.fml-quote blockquote::before { content: none; }
.fml-quote blockquote p { position: relative; font-family: var(--site-h) !important; font-weight: 600; font-style: normal !important; letter-spacing: -.5px; font-size: clamp(28px, 3.6vw, 48px) !important; line-height: 1.22 !important; color: var(--cream) !important; text-align: center; }
.fml-quote blockquote p .w { display: inline-block; opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s; transition-delay: calc(var(--i) * 60ms); }
.fml-quote.is-in blockquote p .w { opacity: 1; transform: none; filter: none; }
.fml-quote cite { display: block; margin: 30px 0 0 !important; font-family: var(--site-p) !important; font-style: normal !important; font-size: 13px !important; line-height: 1.4 !important; letter-spacing: .3em; text-transform: uppercase; color: var(--gold) !important; text-align: center; }

/* ---------- Galleria ---------- */
.fml-gallery { background: #fff; padding: 120px 0 60px; }
.fml-gallery__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1240px; margin: 0 auto; padding: 0 24px; align-items: center; }
.fml-gallery__item { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; transform: translateY(calc(var(--py, 0) * 1px)); will-change: transform; box-shadow: 0 30px 60px -30px rgba(40, 25, 5, .35); }
.fml-gallery__item:nth-child(2) { aspect-ratio: 3 / 4.3; }
.fml-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.fml-gallery__item:hover img { transform: scale(1.05); }

/* ---------- Autrice ---------- */
.fml-author { background: #fff; padding: 60px 0 130px; }
.fml-author__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.fml-author__photo { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: 0 30px 70px -35px rgba(24, 36, 10, .45); }
.fml-author__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fml-author__text h2 { font-size: clamp(38px, 4.4vw, 56px); color: var(--text); margin-bottom: 18px !important; }
.fml-author__text p { color: #4b453d; font-size: 18px; }
.fml-author .fml-label { color: var(--green-l); }
.fml-author__cta { display: flex; flex-wrap: wrap; margin: 26px -7px -7px; }
.fml-author__cta > * { margin: 7px; }

/* ---------- CTA finale ---------- */
.fml-final { position: relative; background: radial-gradient(90% 90% at 30% 50%, #22180c, var(--ink) 65%) var(--ink); color: var(--cream); padding: 130px 0; isolation: isolate; }
.fml-final__grid { display: grid; grid-template-columns: auto 1fr; gap: 90px; align-items: center; max-width: 1040px; }
.fml-book3d--final { --w: 230px; margin-left: 30px; }
.fml-book3d--final .fml-book3d__inner { animation: fml-turn 14s ease-in-out infinite; }
@keyframes fml-turn { 0%, 100% { transform: rotateX(4deg) rotateY(-32deg); } 50% { transform: rotateX(2deg) rotateY(-8deg); } }
.fml-final .fml-kicker { color: var(--gold); }
.fml-final h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; color: var(--cream); margin-bottom: 32px !important; }
.fml-final__note { margin-top: 22px !important; font-size: 13px; color: rgba(244, 237, 226, .5); }

/* ---------- Box del libro in altre pagine: [fm_libro_teaser] ---------- */
.fml-teaser { padding: 90px 0; background: transparent; }
.fml-teaser__grid { display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; max-width: 1040px; }
.fml-teaser__book { display: block; padding: 10px 20px 46px 40px; text-decoration: none !important; }
.fml-book3d--teaser { --w: 220px; }
.fml-book3d--teaser .fml-book3d__glow { opacity: .55; }
.fml-teaser__book:hover .fml-book3d__inner { --ry: -10deg; }
/* Sopratitolo e titolo come quelli del tema (sc_item_subtitle / sc_item_title) nelle altre sezioni. */
.fml-teaser .fml-label { font-family: var(--site-h); font-size: 13px; font-weight: 600; letter-spacing: 1.7px; color: var(--text); margin-bottom: 16px; }
.fml-teaser .fml-label::before, .fml-teaser .fml-label::after { display: none; }
.fml-teaser h2 { font-size: clamp(32px, 3.6vw, 48px) !important; line-height: 1.12 !important; letter-spacing: -.6px !important; color: var(--text) !important; margin-bottom: 18px !important; }
.fml-teaser__desc { color: #4b453d; font-size: 18px; max-width: 560px; }
.fml-teaser .fml-facts { color: var(--muted); margin-top: 22px; }
.fml-teaser .fml-facts strong { color: var(--text); }
.fml-teaser__cta { display: flex; flex-wrap: wrap; margin: 26px -7px -7px; }
.fml-teaser__cta > * { margin: 7px; }

/* ---------- Barra mobile ---------- */
.fml-sticky { display: none; }

/* ---------- Reveal ---------- */
.fml-js .fml-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--d, 0s) var(--ease), transform .9s var(--d, 0s) var(--ease); }
.fml-js .fml-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Header sovrapposto: niente sfondo bianco sotto il titolo ---------- */
body.fml-body .page_content_wrap, body.fml-body .content_wrap, body.fml-body .content { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.fml-hero__grid { grid-template-columns: 1fr 1fr; }
	.fml-final__grid { gap: 50px; }
	.fml-author__grid { gap: 40px; }
	.fml-inside__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.fml { font-size: 16px; }
	.fml-wrap { padding: 0 20px; }
	.fml-head { margin-bottom: 40px; }
	.fml-hero { padding: 110px 0 90px; min-height: 0; }
	.fml-hero__grid { grid-template-columns: 1fr; gap: 10px; text-align: center; }
	.fml-hero__book { order: -1; margin-bottom: 30px; }
	.fml-book3d--hero { --w: 172px; }
	.fml-hero__hint { margin-top: 44px; font-size: 11px; }
	.fml-hero__beam { left: 50%; opacity: .55; }
	.fml-hero__title { justify-content: center; font-size: 84px !important; margin-bottom: 14px !important; }
	.fml-hero .fml-kicker, .fml-final .fml-kicker { justify-content: center; }
	.fml-hero .fml-kicker::before, .fml-final .fml-kicker::before { display: none; }
	.fml-hero__sub, .fml-hero__pitch { margin-left: auto; margin-right: auto; }
	.fml-hero__pitch { margin-bottom: 28px !important; }
	.fml-hero .fml-buy, .fml-final .fml-buy, .fml-verdict .fml-buy { justify-content: center; flex-direction: column; align-items: stretch; }
	.fml-facts { justify-content: center; gap: 6px 18px; font-size: 13px; }
	.fml-scroll { display: none; }
	.fml-story { padding: 90px 0 70px; }
	.fml-flip { padding: 20px 0 90px; }
	.fml-flip.is-ready .fml-flip__ui { margin-top: 34px; gap: 14px; }
	.fml-flip__status { min-width: 150px; font-size: 11px; }
	.fml-path { padding: 90px 0; }
	.fml-path__line { left: 19px; }
	.fml-path__item, .fml-path__item:nth-of-type(even) { width: 100%; margin-left: 0; padding: 0 0 0 54px; justify-content: flex-start; }
	.fml-path__dot, .fml-path__item:nth-of-type(even) .fml-path__dot { left: 0; right: auto; top: 14px; }
	.fml-path__group { text-align: left; margin: 30px 0 24px !important; }
	.fml-path__card { padding: 14px 18px; }
	.fml-path__card h3 { font-size: 20px !important; }
	.fml-inside { padding: 90px 0 70px; }
	.fml-inside__grid { grid-template-columns: 1fr; gap: 12px; }
	.fml-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px 18px; border-radius: 16px; }
	.fml-card__ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0; }
	.fml-card h3 { font-size: 20px !important; margin-bottom: 4px !important; }
	.fml-card p { font-size: 14.5px; }
	.fml-forwho { padding: 80px 0 90px; }
	.fml-checks button { padding: 16px 18px; gap: 14px; }
	.fml-quote { padding: 100px 0; }
	.fml-gallery { padding: 80px 0 30px; }
	.fml-gallery__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 0 20px 20px; scrollbar-width: none; }
	.fml-gallery__row::-webkit-scrollbar { display: none; }
	.fml-gallery__item, .fml-gallery__item:nth-child(2) { flex: 0 0 78%; aspect-ratio: 3 / 4; scroll-snap-align: center; transform: none !important; }
	.fml-author { padding: 60px 0 90px; }
	.fml-author__grid { grid-template-columns: 1fr; gap: 30px; }
	.fml-author__cta { flex-direction: column; align-items: stretch; }
	.fml-final { padding: 90px 0 110px; }
	.fml-final__grid { grid-template-columns: 1fr; gap: 50px; text-align: center; justify-items: center; }
	.fml-book3d--final { --w: 170px; margin-left: 20px; }
	.fml-final .fml-kicker { justify-content: center; }
	.fml-teaser { padding: 70px 0; }
	.fml-teaser__grid { grid-template-columns: 1fr; gap: 26px; text-align: center; justify-items: center; }
	.fml-teaser__book { padding: 0 10px 40px 30px; }
	.fml-book3d--teaser { --w: 160px; }
	.fml-teaser .fml-label { justify-content: center; }
	.fml-teaser__desc { font-size: 16.5px; margin: 0 auto; }
	.fml-teaser .fml-facts { justify-content: center; }
	.fml-teaser__cta { flex-direction: column; align-items: stretch; width: 100%; }

	.fml-sticky {
		display: flex; align-items: center; gap: 10px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 9990;
		padding: 8px 8px 8px 10px; border-radius: 18px; background: rgba(12, 10, 8, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
		box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6); border: 1px solid rgba(248, 213, 143, .2);
		transform: translateY(140%); transition: transform .5s var(--ease);
	}
	.fml-sticky.is-on { transform: none; }
	.fml-sticky img { width: 30px; height: 46px; object-fit: cover; border-radius: 2px; flex: none; }
	.fml-sticky p { flex: 1; min-width: 0; line-height: 1.2; color: var(--cream); font-size: 14px; }
	.fml-sticky p span { display: block; font-size: 11px; color: var(--cream-m); }
	.fml-sticky .fml-buy { flex-wrap: nowrap; margin: 0; }
	.fml-sticky .fml-buy > * { margin: 0 0 0 6px; }
	.fml-sticky .fml-btn { min-height: 40px; padding: 0 13px; font-size: 13px; gap: 6px; }
	.fml-sticky .fml-btn .fml-ico { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.fml *, .fml *::before, .fml *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
}
