/* ==============================================================================
   FILE: css/strumenti_home.css — strumenti della home "cinematografici" (sezioni/strumenti_home.php), prefisso sx-
   Computer: a sinistra i capitoli enormi, a destra il pannello di vetro fermo con la scena del capitolo attivo.
   Telefono: ogni capitolo è una schermata con nome, scena e strumenti (le scene vengono spostate dallo script).
   ============================================================================== */
.sx {
    --sx-perla: #fbf4f6; --sx-prugna: #2a1530; --sx-tenue: #6d5868; --sx-spento: rgba(42, 21, 48, .16); --sx-filo: #ecdbe2;
    --sx-oro: #c9a961; --sx-oro-chiaro: #ead6a6; --sx-fucsia: #d81b7a; --sx-tinta: #f2c6d8;
    --sx-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sx-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    position: relative; isolation: isolate; color: var(--sx-prugna); font-family: var(--sx-sans);
    padding: clamp(80px, 11vw, 150px) clamp(18px, 5vw, 72px) clamp(60px, 8vw, 110px);
    background: var(--sx-perla);
}
.sx *, .sx *::before, .sx *::after { box-sizing: border-box; }
.sx { overflow-x: clip; }   /* nessuna scena può far scorrere la pagina di lato (non blocca il pannello fermo) */
/* luce che segue il cursore (e cambia tinta con il capitolo) */
.sx-luce { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sx-luce::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; left: calc(var(--sx-x, 70%) - 35vmax); top: calc(var(--sx-y, 30%) - 35vmax);
    background: radial-gradient(closest-side, var(--sx-tinta), transparent); opacity: .55; transition: background .8s ease, left .3s ease-out, top .3s ease-out; }
.sx-testa { max-width: 1280px; margin: 0 auto clamp(40px, 6vw, 80px); display: grid; gap: 14px; }
.sx-titolo { margin: 0; font-family: var(--sx-serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; max-width: 16ch; }
.sx-sotto { margin: 0; max-width: 58ch; color: var(--sx-tenue); font-size: 1.05rem; line-height: 1.6; }

.sx-corpo { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; }
.sx-capitoli { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.sx-cap { position: relative; padding: 18px 0 30px; border-top: 1px solid var(--sx-filo); }
.sx-num { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--sx-oro); margin-bottom: 4px; }
.sx-nome { margin: 0; font-family: var(--sx-serif); font-weight: 500; font-size: clamp(2.6rem, 8.5vw, 6.2rem); line-height: .92; letter-spacing: -.025em; }
.sx-strumenti { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sx-strumenti li { padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .8); border: 1px solid var(--sx-filo); font-size: .9rem; font-weight: 600; }
.sx-posto { margin-top: 18px; }

/* ── Il pannello di vetro e le scene ── */
.sx-vetro { position: relative; width: 100%; aspect-ratio: 4 / 3.3; border-radius: 34px; overflow: hidden;
            background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .9);
            box-shadow: 0 60px 120px -60px rgba(42, 21, 48, .55), 0 0 0 1px var(--sx-filo) inset; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.sx-scena { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 32px;
            opacity: 0; clip-path: circle(0% at 50% 50%); transition: opacity .6s ease, clip-path 1s cubic-bezier(.7, 0, .2, 1); }
.sx-scena.sx-attivo { opacity: 1; clip-path: circle(80% at 50% 50%); }
.sx-posto .sx-scena { position: relative; inset: auto; opacity: 1; clip-path: none; min-height: 300px; border-radius: 26px; overflow: hidden;
                      background: rgba(255, 255, 255, .7); border: 1px solid var(--sx-filo); }

/* animazioni delle scene: partono quando la scena diventa attiva */
.sx-scena .a1, .sx-scena .a2, .sx-scena .a3, .sx-scena .a4, .sx-scena .a5, .sx-scena .a6, .sx-scena .c1, .sx-scena .c2, .sx-scena .c3, .sx-scena .c4, .sx-scena .c5,
.sx-scena .b1, .sx-scena .b2, .sx-scena .b3, .sx-scena .b4, .sx-scena .r1, .sx-scena .r2, .sx-scena .r3, .sx-scena .p1, .sx-scena .p2, .sx-scena .p3, .sx-pin { opacity: 0; }
.sx-scena.sx-gioca .a1, .sx-scena.sx-gioca .a2, .sx-scena.sx-gioca .a3, .sx-scena.sx-gioca .a4, .sx-scena.sx-gioca .a5, .sx-scena.sx-gioca .a6,
.sx-scena.sx-gioca .c1, .sx-scena.sx-gioca .c2, .sx-scena.sx-gioca .c3, .sx-scena.sx-gioca .c4, .sx-scena.sx-gioca .c5,
.sx-scena.sx-gioca .b1, .sx-scena.sx-gioca .b2, .sx-scena.sx-gioca .b3, .sx-scena.sx-gioca .b4,
.sx-scena.sx-gioca .r1, .sx-scena.sx-gioca .r2, .sx-scena.sx-gioca .r3, .sx-scena.sx-gioca .sx-pin { animation: sx-entra .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sx-entra { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.sx-gioca .a1 { animation-delay: .35s; } .sx-gioca .a2 { animation-delay: .6s; } .sx-gioca .a3 { animation-delay: .85s; } .sx-gioca .a4 { animation-delay: 1.1s; }
.sx-gioca .a5 { animation-delay: 1.35s; } .sx-gioca .a6 { animation-delay: 1.6s; } .sx-gioca .c1 { animation-delay: 2.1s; }
.sx-gioca .b1 { animation-delay: .3s; } .sx-gioca .b2 { animation-delay: 1.1s; } .sx-gioca .b3 { animation-delay: 1.9s; } .sx-gioca .b4 { animation-delay: 2.6s; }
.sx-gioca .c2 { animation: sx-atterra .9s cubic-bezier(.2, .9, .25, 1.15) 3.2s both; }
@keyframes sx-atterra { from { opacity: 0; transform: translateY(-50px) scale(.8) rotate(-4deg); } to { opacity: 1; transform: none; } }
.sx-gioca .r1 { animation-delay: .4s; } .sx-gioca .r2 { animation-delay: .8s; } .sx-gioca .r3 { animation-delay: 1.2s; }
.sx-gioca .c3 { animation-delay: 1.9s; } .sx-gioca .c4 { animation-delay: 2.2s; } .sx-gioca .sx-pin { animation-delay: 1.8s; }

/* 1 · agenda */
.sx-ag { position: relative; width: min(420px, 100%); height: 260px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 24px 1fr; gap: 6px;
         background: repeating-linear-gradient(180deg, transparent 0 39px, #efe2e8 39px 40px) 0 28px / 100% calc(100% - 28px) no-repeat; }
.sx-ag > span { font-size: .78rem; font-weight: 700; text-align: center; color: var(--sx-tenue); }
.sx-ap { position: absolute; width: calc(33.3% - 6px); padding: 7px 9px; border-radius: 11px; font-style: normal; font-size: .76rem; font-weight: 600; box-shadow: 0 8px 16px -12px rgba(42, 21, 48, .6); }
.a1 { left: 0; top: 32px; height: 76px; background: #f7d3e2; } .a2 { left: 33.3%; top: 32px; height: 50px; background: #efe0bf; } .a3 { left: 66.6%; top: 72px; height: 58px; background: #e5d9f4; }
.a4 { left: 0; top: 120px; height: 84px; background: #d6eee4; } .a5 { left: 33.3%; top: 94px; height: 100px; background: #f6d6c4; } .a6 { left: 66.6%; top: 142px; height: 56px; background: #f7d3e2; }
.sx-chip { margin: 0; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--sx-filo); font-size: .82rem; font-weight: 600; box-shadow: 0 12px 24px -18px rgba(42, 21, 48, .6); }
.c3 { color: #1d9a5f; background: #e5f6ed; border-color: #cdebd9; }
/* 2 · whatsapp */
.sx-chat { width: min(400px, 100%); display: grid; gap: 8px; }
.sx-b { margin: 0; max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.4; }
.sx-b.lei { justify-self: start; background: #fff; border: 1px solid var(--sx-filo); border-bottom-left-radius: 5px; }
.sx-b.noi { justify-self: end; background: #f7e1ea; border-bottom-right-radius: 5px; } .sx-b b { color: var(--sx-fucsia); }
.sx-oro { margin: 0; width: min(400px, 100%); padding: 11px 15px; border-radius: 15px; font-size: .86rem; line-height: 1.35;
          background: linear-gradient(135deg, var(--sx-oro-chiaro), var(--sx-oro)); box-shadow: 0 18px 34px -18px rgba(201, 169, 97, .95), 0 0 0 2px rgba(216, 27, 122, .45); }
.sx-oro small { opacity: .75; }
/* 3 · clienti */
.sx-cliente { width: min(400px, 100%); display: grid; gap: 10px; }
.sx-cl-nome { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; font-weight: 700; font-size: 1.05rem; }
.sx-cl-nome span { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .9rem; background: linear-gradient(135deg, #d81b7a, #8f1257); }
.sx-cl-nome small { font-weight: 500; font-size: .8rem; color: var(--sx-tenue); }
.sx-riga { margin: 0; padding: 11px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--sx-filo); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: .88rem; font-weight: 600; }
.sx-riga em { font-style: normal; color: var(--sx-tenue); font-weight: 500; }
.sx-barra { flex-basis: 100%; height: 6px; border-radius: 99px; background: #f1e3e9; overflow: hidden; } .sx-barra i { display: block; height: 100%; width: 70%; border-radius: 99px; background: linear-gradient(90deg, var(--sx-fucsia), var(--sx-oro)); }
.sx-timbri { margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, #3a2541, #1b1220); }
.sx-timbri i { aspect-ratio: 1; border-radius: 50%; background: var(--sx-oro); display: grid; place-items: center; font-style: normal; font-size: .85rem; } .sx-timbri i:last-child { background: var(--sx-fucsia); }
/* 4 · cassa */
.sx-scontrino { width: 230px; padding: 14px 16px 20px; display: grid; gap: 5px; font-size: .8rem; background: #fff; border: 1px solid var(--sx-filo); box-shadow: 0 24px 40px -24px rgba(42, 21, 48, .6);
                clip-path: polygon(0 0, 100% 0, 100% 100%, 92% 97%, 84% 100%, 76% 97%, 68% 100%, 60% 97%, 52% 100%, 44% 97%, 36% 100%, 28% 97%, 20% 100%, 12% 97%, 4% 100%, 0 97%); }
.sx-scontrino b { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sx-tenue); }
.sx-scontrino span, .sx-scontrino strong { display: flex; justify-content: space-between; } .sx-scontrino em { font-style: normal; }
.sx-misto { color: var(--sx-tenue); font-size: .74rem; } .sx-scontrino strong { margin-top: 4px; padding-top: 7px; border-top: 1px dashed var(--sx-filo); }
.sx-gioca .sx-scontrino { animation: sx-stampa 1.4s cubic-bezier(.3, .7, .2, 1) .3s both; }
@keyframes sx-stampa { from { clip-path: inset(0 0 100% 0); transform: translateY(-24px); } }
/* 5 · marketing */
.sx-brief { margin: 0; max-width: 420px; padding: 11px 15px; border-radius: 14px; background: #fff; border: 1px solid var(--sx-filo); color: var(--sx-tenue); font-size: .88rem; white-space: nowrap; overflow: hidden; }
.sx-gioca .sx-brief { animation: sx-scrivi 1.3s steps(46) .2s both; }
@keyframes sx-scrivi { from { max-width: 0; padding-left: 0; padding-right: 0; } }
.sx-promo { display: flex; gap: 14px; }
.sx-promo span { width: 120px; height: 150px; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; font-size: .74rem; box-shadow: 0 22px 34px -20px rgba(42, 21, 48, .75); }
.sx-promo b { font-family: var(--sx-serif); font-size: 1.55rem; line-height: 1; font-weight: 600; }
.p1 { background: linear-gradient(160deg, #d81b7a, #8f1257); rotate: -5deg; } .p2 { background: linear-gradient(160deg, #c9a961, #8c6a2a); translate: 0 -10px; } .p3 { background: linear-gradient(160deg, #3a2541, #1b1220); rotate: 5deg; }
.sx-gioca .p1, .sx-gioca .p2, .sx-gioca .p3 { animation: sx-sale .65s cubic-bezier(.2, .9, .25, 1.2) both; }
.sx-gioca .p1 { animation-delay: 1.5s; } .sx-gioca .p2 { animation-delay: 1.75s; } .sx-gioca .p3 { animation-delay: 2s; }
@keyframes sx-sale { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
/* 6 · conti */
.sx-arco { width: 240px; overflow: visible; }
.sx-arco .f, .sx-arco .p { fill: none; stroke-width: 16; stroke-linecap: round; }
.sx-arco .f { stroke: #f0e1e8; }
.sx-arco .p { stroke: var(--sx-fucsia); stroke-dasharray: 283; stroke-dashoffset: 283; }
.sx-gioca .sx-arco .p { transition: stroke-dashoffset 1.8s cubic-bezier(.2, .8, .2, 1) .3s; stroke-dashoffset: 70; }
.sx-cifra { margin: -64px 0 0; text-align: center; font-family: var(--sx-serif); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.sx-cifra small { display: block; margin-top: 6px; font-family: var(--sx-sans); font-size: .76rem; font-weight: 500; color: var(--sx-tenue); }
.sx-pin { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--sx-tenue); }
.sx-pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--sx-prugna); }

/* 7 · piattaforme collegate */
.sx-hub { position: relative; width: 440px; max-width: 100%; aspect-ratio: 4 / 3; }
.sx-hub-fili { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sx-hub-fili path { fill: none; stroke: #e8d3dc; stroke-width: 2; }
.sx-gioca .sx-hub-fili path { stroke: #e3c9d5; stroke-dasharray: 6 10; animation: sx-flusso 1.6s linear infinite; }
@keyframes sx-flusso { to { stroke-dashoffset: -32; } }
.sx-hub-centro { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 12px 16px; border-radius: 18px; font-family: var(--sx-serif); font-size: 1.2rem; font-weight: 600;
                 color: #fff; background: linear-gradient(135deg, #3a2541, #1b1220); box-shadow: 0 0 0 8px rgba(216, 27, 122, .12), 0 20px 40px -20px rgba(42, 21, 48, .8); white-space: nowrap; }
.sx-gioca .sx-hub-centro { animation: sx-pulsa 2.4s ease-in-out infinite; }
@keyframes sx-pulsa { 50% { box-shadow: 0 0 0 16px rgba(216, 27, 122, .06), 0 20px 40px -20px rgba(42, 21, 48, .8); } }
.sx-nodo { position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 99px; background: #fff;
           border: 1px solid var(--sx-filo); font-size: .76rem; font-weight: 700; white-space: nowrap; box-shadow: 0 12px 24px -18px rgba(42, 21, 48, .7); }
.sx-nodo i { font-size: .95rem; }
.n1 { left: 17.5%; top: 20%; } .n1 i { color: #4285f4; } .n2 { left: 82.5%; top: 20%; } .n2 i { color: #1877f2; } .n3 { left: 90%; top: 56.6%; } .n3 i { color: #d62976; }
.n4 { left: 75%; top: 87.3%; } .n4 i { color: #25d366; } .n5 { left: 25%; top: 87.3%; } .n5 i { color: #635bff; } .n6 { left: 10%; top: 56.6%; } .n6 i { color: var(--sx-oro); }
.sx-scena .sx-nodo, .sx-scena .sx-evento { opacity: 0; }
.sx-gioca .sx-nodo { animation: sx-entra .5s cubic-bezier(.2, .8, .2, 1) both; }
.sx-gioca .n1 { animation-delay: .2s; } .sx-gioca .n2 { animation-delay: .35s; } .sx-gioca .n3 { animation-delay: .5s; }
.sx-gioca .n4 { animation-delay: .65s; } .sx-gioca .n5 { animation-delay: .8s; } .sx-gioca .n6 { animation-delay: .95s; }
.sx-evento { position: absolute; padding: 5px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; color: #fff; background: var(--sx-fucsia); box-shadow: 0 10px 20px -12px rgba(216, 27, 122, .9); }
.e1 { left: 6%; top: 2%; } .e2 { right: 4%; top: 2%; background: #1877f2; }
.sx-gioca .e1 { animation: sx-evento 3.2s ease 1.6s infinite both; } .sx-gioca .e2 { animation: sx-evento 3.2s ease 3.2s infinite both; }
@keyframes sx-evento { 0% { opacity: 0; transform: translateY(8px); } 15%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }

/* ── VETRO LIQUIDO: rifrazione (filtro SVG #sxLiquido, dove il browser lo supporta), bordo speculare, riflesso mobile ── */
.sx-filtri { position: absolute; width: 0; height: 0; }
.sx-pannello { isolation: isolate; }
.sx-pannello::before { content: ""; position: absolute; inset: -8% -6%; z-index: -1; filter: blur(30px); opacity: .9; pointer-events: none;
    background: radial-gradient(30% 34% at 22% 30%, var(--sx-tinta), transparent 70%), radial-gradient(28% 30% at 80% 70%, rgba(201, 169, 97, .55), transparent 70%),
                radial-gradient(22% 26% at 70% 18%, rgba(216, 27, 122, .35), transparent 70%);
    animation: sx-macchie 14s ease-in-out infinite alternate; }
@keyframes sx-macchie { to { transform: translate(3%, -4%) rotate(8deg) scale(1.06); } }
.sx-vetro { background: rgba(255, 255, 255, .34);
    backdrop-filter: url(#sxLiquido) blur(3px) saturate(1.7) brightness(1.06); -webkit-backdrop-filter: blur(16px) saturate(1.6);
    box-shadow: 0 60px 120px -60px rgba(42, 21, 48, .55), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .5),
                inset 1px 0 0 rgba(255, 255, 255, .7), inset -1px 0 0 rgba(255, 255, 255, .4), inset 0 0 40px rgba(255, 255, 255, .35); }
.sx-vetro::before { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none; padding: 1.5px;
    background: linear-gradient(140deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .1) 30%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .7) 85%, rgba(255, 255, 255, .2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.sx-vetro::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light;
    background: radial-gradient(420px circle at var(--sx-vx, 30%) var(--sx-vy, 20%), rgba(255, 255, 255, .7), transparent 60%); }

/* ── 3 · ABBONAMENTO, BUONO REGALO, FIDELITY ── */
.sx-trio { position: relative; width: 520px; max-width: 100%; height: 400px; }
.sx-mini { position: absolute; width: 196px; padding: 15px 16px 14px; border-radius: 20px; display: grid; gap: 7px; background: #fff;
           box-shadow: 0 26px 46px -28px rgba(42, 21, 48, .6), 0 0 0 1px rgba(42, 21, 48, .05); }
.sx-mini-tipo { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-oro); }
.sx-mini-nome { font-size: .92rem; line-height: 1.25; }
.sx-mini-nota { font-size: .74rem; color: var(--sx-tenue); }
.sx-abb { left: 0; top: 0; rotate: -6deg; }
.sx-anello { position: relative; width: 64px; height: 64px; }
.sx-anello svg { width: 100%; height: 100%; rotate: -90deg; }
.sx-anello circle { fill: none; stroke-width: 6; }
.sx-anello .f { stroke: #f2e4ea; }
.sx-anello .p { stroke: var(--sx-fucsia); stroke-linecap: round; stroke-dasharray: 157; stroke-dashoffset: 47; }
.sx-anello em { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 17px; font-style: normal; font-family: var(--sx-serif); font-size: 1.5rem; font-weight: 600; }
.sx-anello em small { font-family: var(--sx-sans); font-size: .62rem; color: var(--sx-tenue); margin-left: 1px; }
.sx-sedute { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.sx-sedute i { aspect-ratio: 1; border-radius: 50%; background: #f1e3e9; }
.sx-sedute i:nth-child(-n+7) { background: linear-gradient(135deg, #d81b7a, #a3125c); }
.sx-fid { right: 0; top: 14px; rotate: 6deg; color: #fff; background: linear-gradient(145deg, #3a2541, #1b1220); }
.sx-fid .sx-mini-nota { color: rgba(255, 255, 255, .7); }
.sx-timbri2 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sx-timbri2 i { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8rem;
                background: radial-gradient(circle at 35% 30%, #f6e2ae, #c9a961 60%, #9c7b35); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .25); }
.sx-timbri2 i.r { background: radial-gradient(circle at 35% 30%, #ff6fb3, #d81b7a 60%, #8f1257); }

/* il buono: biglietto con bordi seghettati, perforazione e talloncino che si stacca */
.sx-buono { position: absolute; left: 50%; bottom: 6px; z-index: 2; width: 336px; height: 162px; translate: -54% 0; display: grid; grid-template-columns: 1fr 82px;
            filter: drop-shadow(0 26px 30px rgba(42, 21, 48, .32)) drop-shadow(0 2px 2px rgba(42, 21, 48, .12)); }
.sx-buono-corpo, .sx-buono-tallone { position: relative;
    background: linear-gradient(140deg, #fff6df 0%, #f3dfae 38%, #dcbc77 70%, #c9a961 100%); }
.sx-buono-corpo { padding: 15px 14px 12px 22px; display: grid; align-content: start; gap: 3px; border-radius: 0;
    -webkit-mask: radial-gradient(6px at 0 50%, #0000 97%, #000) 0 0 / 100% 17px repeat-y, radial-gradient(10px at 100% 0, #0000 97%, #000) top right / 51% 51% no-repeat,
                  radial-gradient(10px at 100% 100%, #0000 97%, #000) bottom right / 51% 51% no-repeat, linear-gradient(#000 0 0) left / 50% 100% no-repeat;
            mask: radial-gradient(6px at 0 50%, #0000 97%, #000) 0 0 / 100% 17px repeat-y; }
.sx-buono-corpo::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .0) 0 10px, rgba(255, 255, 255, .45) 10px 11px); }   /* filigrana guilloché */
.sx-buono-corpo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .75) 46%, transparent 60%) -160% 0 / 60% 100% no-repeat; }
.sx-gioca .sx-buono-corpo::before { animation: sx-foil 1.6s ease 1.4s both; }
@keyframes sx-foil { to { background-position: 260% 0; } }
.sx-buono-valore { font-family: var(--sx-serif); font-size: 2.6rem; line-height: .95; font-weight: 600; color: var(--sx-prugna); font-variant-numeric: lining-nums tabular-nums; }
.sx-buono-per { font-size: .72rem; color: #6b5330; }
.sx-buono-barra { margin-top: 6px; height: 6px; border-radius: 99px; background: rgba(42, 21, 48, .12); overflow: hidden; }
.sx-buono-barra i { display: block; height: 100%; width: 70%; border-radius: 99px; background: linear-gradient(90deg, #2a1530, #6d3f5c); }
.sx-buono-righe { display: flex; justify-content: space-between; font-size: .68rem; color: #6b5330; }
.sx-buono-righe em { font-style: normal; } .sx-buono-righe b { color: var(--sx-prugna); }
.sx-buono-tallone { display: grid; align-content: center; justify-items: center; gap: 2px; border-left: 2px dashed rgba(42, 21, 48, .35); transform-origin: 0 100%;
    -webkit-mask: radial-gradient(6px at 100% 50%, #0000 97%, #000) 0 0 / 100% 17px repeat-y; mask: radial-gradient(6px at 100% 50%, #0000 97%, #000) 0 0 / 100% 17px repeat-y; }
.sx-buono-tallone span { font-size: .62rem; font-weight: 800; letter-spacing: .1em; color: #6b5330; }
.sx-buono-tallone b { font-family: var(--sx-serif); font-size: 1.2rem; color: var(--sx-prugna); }
.sx-qr { width: 34px; height: 34px; margin-top: 4px; border-radius: 4px; background:
    conic-gradient(from 90deg at 2px 2px, #2a1530 25%, transparent 0) 0 0 / 6px 6px, linear-gradient(#fff6df, #fff6df); opacity: .85; }
.sx-timbro { position: absolute; left: 41%; top: 9%; z-index: 3; padding: 5px 10px; border: 2.5px solid #be123c; border-radius: 8px; color: #be123c;
             font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; rotate: -12deg; background: rgba(255, 246, 223, .35); mix-blend-mode: multiply; }

/* animazione della scena 3 */
.sx-scena .sx-abb, .sx-scena .sx-fid, .sx-scena .sx-buono, .sx-scena .sx-timbro { opacity: 0; }
.sx-gioca .sx-abb { animation: sx-carta-s .8s cubic-bezier(.2, .9, .25, 1.15) .2s both; }
.sx-gioca .sx-fid { animation: sx-carta-d .8s cubic-bezier(.2, .9, .25, 1.15) .45s both; }
.sx-gioca .sx-buono { animation: sx-buono .9s cubic-bezier(.2, .9, .25, 1.15) .7s both; }
@keyframes sx-carta-s { from { opacity: 0; transform: translate(-40px, 30px) rotate(-10deg); } to { opacity: 1; transform: none; } }
@keyframes sx-carta-d { from { opacity: 0; transform: translate(40px, 30px) rotate(10deg); } to { opacity: 1; transform: none; } }
@keyframes sx-buono { from { opacity: 0; transform: translateY(50px) scale(.86) rotateX(30deg); } to { opacity: 1; transform: none; } }
.sx-gioca .sx-anello .p { animation: sx-anello 1.4s cubic-bezier(.2, .8, .2, 1) .6s both; }
@keyframes sx-anello { from { stroke-dashoffset: 157; } }
.sx-gioca .sx-sedute i:nth-child(-n+7) { animation: sx-seduta .35s ease both; }
.sx-gioca .sx-sedute i:nth-child(1) { animation-delay: .7s; } .sx-gioca .sx-sedute i:nth-child(2) { animation-delay: .8s; } .sx-gioca .sx-sedute i:nth-child(3) { animation-delay: .9s; }
.sx-gioca .sx-sedute i:nth-child(4) { animation-delay: 1s; } .sx-gioca .sx-sedute i:nth-child(5) { animation-delay: 1.1s; } .sx-gioca .sx-sedute i:nth-child(6) { animation-delay: 1.2s; }
.sx-gioca .sx-sedute i:nth-child(7) { animation-delay: 1.3s; }
@keyframes sx-seduta { from { transform: scale(.2); opacity: .2; } }
.sx-gioca .sx-timbri2 i { animation: sx-seduta .35s cubic-bezier(.2, .9, .25, 1.5) both; }
.sx-gioca .sx-timbri2 i:nth-child(1) { animation-delay: .8s; } .sx-gioca .sx-timbri2 i:nth-child(2) { animation-delay: .9s; } .sx-gioca .sx-timbri2 i:nth-child(3) { animation-delay: 1s; }
.sx-gioca .sx-timbri2 i:nth-child(4) { animation-delay: 1.1s; } .sx-gioca .sx-timbri2 i:nth-child(5) { animation-delay: 1.2s; } .sx-gioca .sx-timbri2 i:nth-child(6) { animation-delay: 1.3s; }
.sx-gioca .sx-timbri2 i:nth-child(7) { animation-delay: 1.4s; } .sx-gioca .sx-timbri2 i:nth-child(8) { animation-delay: 1.5s; } .sx-gioca .sx-timbri2 i:nth-child(9) { animation-delay: 1.6s; }
.sx-gioca .sx-timbri2 i:nth-child(10) { animation-delay: 1.9s; }
.sx-gioca .sx-buono-tallone { animation: sx-strappo 1.1s cubic-bezier(.3, .7, .2, 1) 1.9s both; }
@keyframes sx-strappo { 0% { transform: none; } 45% { transform: translate(4px, 2px) rotate(3deg); } 100% { transform: translate(14px, 10px) rotate(9deg); } }
.sx-gioca .sx-timbro { animation: sx-timbra .45s cubic-bezier(.2, .9, .25, 1.4) 2.6s both; }
@keyframes sx-timbra { from { opacity: 0; transform: scale(2.2); } to { opacity: 1; transform: none; } }
.sx-gioca .sx-buono-barra i { animation: sx-uso 1.3s cubic-bezier(.2, .8, .2, 1) 2.7s both; }
@keyframes sx-uso { from { width: 0; } }

/* ── Schermate ricostruite del gestionale (dati di esempio "Studio Aurora"), dentro le scene 01 e 02 ── */
.agm *, .agm { box-sizing:border-box }
.agm { width:1440px;height:900px;overflow:hidden;font-family:Inter,system-ui,sans-serif;background:#f3f4f8;color:#1f2937;text-align:left;line-height:normal }
.agm .nav { height:66px;background:#fff;border-bottom:2px solid #e9c98c;display:flex;align-items:center;padding:0 22px;gap:26px }
.agm .brand { display:flex;align-items:center;gap:10px;margin-right:18px }
.agm .brand img { width:44px;height:44px;object-fit:contain }
.agm .brand b { display:block;font-size:19px;letter-spacing:.02em;background:linear-gradient(90deg,#c9a961,#d81b7a);-webkit-background-clip:text;color:transparent }
.agm .brand small { font-size:8.5px;letter-spacing:.2em;color:#d81b7a;font-weight:700 }
.agm .vm { font-size:14px;font-weight:600;color:#3b3f4a;display:flex;align-items:center;gap:7px;height:66px }
.agm .vm.on { color:#d81b7a;border-bottom:3px solid #d81b7a }
.agm .vm i { font-size:13px }
.agm .vm .fa-chevron-down { font-size:9px;opacity:.6 }
.agm .user { margin-left:auto;display:flex;align-items:center;gap:10px;padding:6px 8px 6px 18px;border:1px solid #efe4cf;border-radius:30px;background:#fffdf8 }
.agm .user b { font-size:13.5px;display:block;text-align:right }
.agm .user small { font-size:9px;font-weight:700;letter-spacing:.08em;color:#a0802f;background:#f6edd8;padding:1px 6px;border-radius:4px }
.agm .user .ph { width:38px;height:38px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#f9d6e3,#d98fb0);border:2px solid #c9a961 }
.agm .wrap { margin:18px 22px;background:#fff;border-radius:22px;height:794px;display:grid;grid-template-columns:262px 1fr;gap:20px;padding:24px 22px;box-shadow:0 10px 30px -22px rgba(0,0,0,.25) }
.agm .side { display:grid;gap:14px;align-content:start }
.agm .box { border:1px solid #eceef3;border-radius:14px;padding:14px }
.agm .mese { display:flex;justify-content:space-between;font-size:12.5px;font-weight:700;letter-spacing:.04em;margin-bottom:10px }
.agm .mese i { color:#9ca3af;font-size:11px }
.agm .cal { display:grid;grid-template-columns:repeat(7,1fr);row-gap:9px;text-align:center;font-size:12px }
.agm .cal .dow { font-size:9.5px;color:#9ca3af;font-weight:600 }
.agm .cal .fuori { color:#c4c8d0 }
.agm .cal .oggi { background:#4f46e5;color:#fff;border-radius:50%;width:26px;height:26px;line-height:26px;margin:-4px auto 0;font-weight:700 }
.agm .tog { display:grid;grid-template-columns:1fr 1fr;background:#f3f4f8;border-radius:10px;padding:4px;font-size:13px;font-weight:600;text-align:center }
.agm .tog span { padding:8px }
.agm .tog .on { background:#4f46e5;color:#fff;border-radius:8px }
.agm .bt { border-radius:9px;padding:9px;font-size:12.5px;font-weight:600;text-align:center;border:1px solid #e5e7eb }
.agm .bt.p { background:#4f46e5;color:#fff;border:0 }
.agm .bt.n { color:#8a6d1b;border-color:#f1e3b5 }
.agm .bt.a { color:#c2410c;border:1.5px solid #f59e0b }
.agm .leg { font-size:11.5px;display:grid;gap:8px }
.agm .leg h6 { margin:0 0 2px;font-size:10px;letter-spacing:.08em;color:#6b7280 }
.agm .leg span { display:flex;align-items:center;gap:8px }
.agm .leg i { width:10px;height:10px;border-radius:3px;display:inline-block }
.agm .ag { border:1px solid #eceef3;border-radius:16px;overflow:hidden;display:grid;grid-template-rows:42px 66px 1fr }
.agm .giorno { background:#fafbfc;border-bottom:1px solid #eceef3;text-align:center;font-size:15px;line-height:42px;color:#4b5563 }
.agm .giorno small { font-size:10px;letter-spacing:.12em;font-weight:700;margin-right:8px }
.agm .giorno b { font-size:19px;color:#111827;margin-right:4px }
.agm .heads { display:grid;grid-template-columns:62px repeat(4,1fr);gap:6px;padding:8px 6px 6px 0 }
.agm .op { display:flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;font-size:15.5px;font-weight:500;background:linear-gradient(180deg,#fbf3e3,#f0e2c3);box-shadow:inset 0 0 0 1px #ead8b2,0 2px 4px rgba(160,128,47,.18) }
.agm .av { width:30px;height:30px;border-radius:50%;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:600;box-shadow:0 0 0 2px #fff }
.agm .corpo { position:relative;display:grid;grid-template-columns:62px repeat(4,1fr);border-top:1px solid #eceef3 }
.agm .ore { position:relative }
.agm .ora { position:absolute;right:8px;transform:translateY(4px);font-size:12.5px;color:#4b5563 }
.agm .ora.mezza { font-size:10px;color:#9ca3af }
.agm .griglia { position:absolute;left:62px;right:0;top:0;bottom:0 }
.agm .riga { position:absolute;left:0;right:0;border-top:1px solid #edf0f4 }
.agm .riga.mezza { border-top-style:solid;border-color:#f4f6f8 }
.agm .col { position:relative;border-left:1px solid #edf0f4;margin-top:8px }
.agm .app { position:absolute;left:3px;right:3px;border-radius:6px;padding:5px 9px;font-size:11.5px;line-height:1.3;overflow:hidden;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.08);border-left:3px solid rgba(0,0,0,.12) }
.agm .app b { display:block;font-weight:600 }
.agm .app .t { font-size:10.5px;opacity:.95 }
.agm .app span { display:block;opacity:.85;font-size:11px }
.agm .app i { position:absolute;right:7px;top:6px;font-size:10px;opacity:.6 }
.agm .app.scuro { color:#1f2937 }
.agm .app.lav { color:#1e1b4b }
.agm .app.lav span { color:#4f46e5 }
.tlm, .tlm * { box-sizing: border-box; }
.tlm { width: 420px; height: 900px; font-family: Inter, system-ui, sans-serif; text-align: left; line-height: normal; }
.tlm .tel { position:relative;width:420px;height:900px;border-radius:64px;padding:12px;background:linear-gradient(145deg,#3a3440,#16131a 40%,#2b2530);
     box-shadow:0 0 0 2px #5a5260 inset,0 0 0 4px #0c0a0e inset,0 50px 90px -40px rgba(42,21,48,.7),0 20px 40px -20px rgba(0,0,0,.5) }
.tlm .tel::before { content:"";position:absolute;right:-4px;top:190px;width:4px;height:70px;border-radius:0 3px 3px 0;background:#2b2530 }
.tlm .tel::after { content:"";position:absolute;left:-4px;top:160px;width:4px;height:110px;border-radius:3px 0 0 3px;background:#2b2530 }
.tlm .schermo { position:relative;width:100%;height:100%;border-radius:53px;overflow:hidden;background:#0b141a;color:#e9edef }
.tlm .foro { position:absolute;left:50%;top:14px;width:22px;height:22px;margin-left:-11px;border-radius:50%;background:#050505;box-shadow:0 0 0 2px #151515;z-index:9 }
.tlm .stato { height:46px;display:flex;align-items:center;justify-content:space-between;padding:6px 30px 0;font-size:14px;font-weight:600;color:#e9edef }
.tlm .stato .ic { display:flex;gap:6px;align-items:center;font-size:12px }
.tlm .bat { width:24px;height:12px;border:1.5px solid #e9edef;border-radius:3px;position:relative }
.tlm .bat::after { content:"";position:absolute;inset:1.5px;right:5px;background:#e9edef;border-radius:1px }
.tlm .testa { display:flex;align-items:center;gap:12px;padding:8px 16px 12px;background:#0b141a;border-bottom:1px solid #1d2a31 }
.tlm .testa .fr { font-size:20px;color:#e9edef;width:16px }
.tlm .ava { width:40px;height:40px;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:hidden }
.tlm .ava img { width:30px;height:30px;object-fit:contain }
.tlm .testa b { display:block;font-size:16.5px;font-weight:600 }
.tlm .testa small { font-size:12px;color:#8696a0 }
.tlm .testa .pt { margin-left:auto;font-size:18px;color:#e9edef;letter-spacing:-2px }
.tlm .chat { position:absolute;top:110px;bottom:70px;left:0;right:0;padding:12px 12px;display:flex;flex-direction:column;gap:6px;
      background:radial-gradient(120% 80% at 50% 0%,#14262c 0%,#0b141a 70%) }
.tlm .data { align-self:center;font-size:12px;padding:5px 12px;border-radius:8px;background:#182229;color:#8696a0;margin:4px 0 6px }
.tlm .m { position:relative;max-width:82%;padding:7px 10px 18px;border-radius:10px;font-size:14.5px;line-height:1.38 }
.tlm .m time { position:absolute;right:9px;bottom:4px;font-size:10.5px;color:rgba(233,237,239,.6);display:flex;gap:3px;align-items:center }
.tlm .io { align-self:flex-end;background:#005c4b;border-top-right-radius:3px }
.tlm .io time::after { content:"✓✓";color:#53bdeb;font-size:10px;letter-spacing:-3px;margin-left:2px }
.tlm .lei { align-self:flex-start;background:#202c33;border-top-left-radius:3px }
.tlm .barra { position:absolute;left:0;right:0;bottom:0;height:70px;display:flex;align-items:center;gap:8px;padding:0 10px 10px;background:#0b141a }
.tlm .campo { flex:1;height:46px;border-radius:24px;background:#202c33;display:flex;align-items:center;padding:0 16px;color:#8696a0;font-size:15px }
.tlm .mic { width:46px;height:46px;border-radius:50%;background:#00a884;display:grid;place-items:center;color:#0b141a;font-size:18px }
.tlm .tpl { align-self:flex-start;max-width:86%;border-radius:10px;border-top-left-radius:3px;background:#202c33;overflow:hidden }
.tlm .tpl-img { height:118px;display:grid;place-items:center;background:linear-gradient(135deg,#fbe9f0,#f3dfae) }
.tlm .tpl-img img { width:64px;height:64px;object-fit:contain }
.tlm .tpl-t { padding:9px 11px 18px;font-size:14.5px;line-height:1.42;position:relative }
.tlm .tpl-t b { color:#fff }
.tlm .tpl-t time { position:absolute;right:9px;bottom:4px;font-size:10.5px;color:rgba(233,237,239,.6) }
.tlm .tpl-p { display:flex;flex-direction:column;border-top:1px solid #2a3942 }
.tlm .tpl-p span { padding:11px;text-align:center;color:#53bdeb;font-size:14.5px;font-weight:500;border-bottom:1px solid #2a3942 }
.tlm .tpl-p span:last-child { border-bottom:0 }
.tlm .notifica { position:absolute;left:14px;right:14px;top:54px;z-index:8;border-radius:22px;padding:12px 14px;display:grid;grid-template-columns:38px 1fr;gap:10px;
          background:rgba(38,38,44,.86);backdrop-filter:blur(14px);box-shadow:0 18px 30px -12px rgba(0,0,0,.6);font-size:13px;color:#f2f2f2 }
.tlm .notifica .ic { width:38px;height:38px;border-radius:10px;background:#00a884;display:grid;place-items:center;font-size:18px;color:#fff }
.tlm .notifica b { font-size:13.5px }
.tlm .notifica small { float:right;color:#aaa;font-size:11.5px }

/* portatile e telefoni che contengono le schermate */
.sx-scala { position: relative; overflow: hidden; }
.sx-scala > .agm, .sx-scala > .tlm, .sx-scala > .sb { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--k, .3)); }
.sx-laptop { width: 540px; max-width: 100%; filter: drop-shadow(0 40px 40px rgba(42, 21, 48, .28)); }
.sx-laptop-schermo { padding: 9px 9px 12px; border-radius: 18px 18px 6px 6px; background: linear-gradient(160deg, #3a3440, #16131a 55%, #2b2530);
                     box-shadow: inset 0 0 0 1.5px #5a5260, inset 0 0 0 3px #0c0a0e; }
.sx-laptop-schermo .sx-scala { border-radius: 6px; background: #f3f4f8; }
.sx-laptop-base { position: relative; height: 13px; margin: 0 -6%; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #e9e3e7, #b9b0b7 60%, #9c939b); }
.sx-laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px; margin-left: -9%; border-radius: 0 0 8px 8px; background: #a79fa6; }
.sx-telefoni { position: relative; width: 520px; max-width: 100%; height: 440px; }
.sx-tel { position: absolute; }
.sx-tel-davanti { left: 12%; bottom: 2%; z-index: 2; }
.sx-tel-dietro { right: 6%; top: 3%; rotate: 7deg; z-index: 1; }
.sx-tel .sx-scala { overflow: visible; }

/* animazione: appuntamenti che si compongono, messaggi che arrivano, notifica che scende */
.sx-scena .agm .app, .sx-scena .sx-tel-davanti .m, .sx-scena .sx-tel-davanti .data, .sx-scena .tlm .notifica { opacity: 0; }
.sx-gioca .agm .app { animation: sx-ag-entra .45s cubic-bezier(.2, .9, .25, 1.2) both; }
@keyframes sx-ag-entra { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
.sx-gioca .agm .agm-nuova { animation: sx-ag-entra .5s cubic-bezier(.2, .9, .25, 1.2) both, sx-ag-luce 1.6s ease-in-out infinite alternate; }
@keyframes sx-ag-luce { from { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0); } to { box-shadow: 0 0 0 4px #c9a961, 0 0 34px 6px rgba(201, 169, 97, .75); } }
.sx-gioca .sx-tel-davanti .m, .sx-gioca .sx-tel-davanti .data { animation: sx-entra .45s cubic-bezier(.2, .8, .2, 1) both; }
.sx-gioca .tlm .notifica { animation: sx-notifica .7s cubic-bezier(.2, .9, .25, 1.15) both; }
@keyframes sx-notifica { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }


/* ══ Schermate ricostruite dei capitoli 04–07 (dati di esempio "Studio Aurora") ══ */
.sx-finestra { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 34px 60px -30px rgba(42, 21, 48, .55), 0 0 0 1px rgba(42, 21, 48, .06); }
.sx-finestra .sx-scala > div { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--k, .5)); }
.sx-f-larga { width: 540px; max-width: 100%; }
.sx-f-costi { width: 470px; max-width: 100%; }
.sx-cassa { position: relative; width: 540px; max-width: 100%; height: 430px; }
.sx-f-cassa { position: absolute; left: 0; top: 0; width: 410px; }
.sx-f-scontrino { position: absolute; right: -4px; bottom: 0; width: 176px; rotate: 5deg; border-radius: 4px; }
.sx-cassa .c3 { position: absolute; left: 30px; bottom: 6px; }
.sx-collegati { margin: 0; display: flex; align-items: center; gap: 8px; }
.sx-collegati span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--sx-filo); box-shadow: 0 8px 16px -12px rgba(42, 21, 48, .6); }
.sx-collegati span:nth-child(1) i { color: #1877f2; } .sx-collegati span:nth-child(2) i { color: #d62976; } .sx-collegati span:nth-child(3) i { color: #25d366; }
.sx-collegati span:nth-child(4) i { color: #635bff; } .sx-collegati span:nth-child(5) i { color: var(--sx-oro); }
.sx-collegati em { font-style: normal; font-size: .82rem; font-weight: 700; color: #1d9a5f; }

/* cassa */
.cm, .cm * { box-sizing: border-box; } .cm { width: 720px; height: 600px; font-family: Inter, system-ui, sans-serif; color: #1f2937; background: #f6f7fb; text-align: left; line-height: 1.3; }
.cm-testa { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; background: #fff; border-bottom: 1px solid #eceef3; font-size: 15px; } .cm-testa i { color: #9ca3af; }
.cm-corpo { display: grid; grid-template-columns: 250px 1fr; gap: 12px; padding: 12px; height: 494px; }
.cm-sx, .cm-dx { background: #fff; border: 1px solid #eceef3; border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.cm-card { border-radius: 9px; background: #f3f4f8; padding: 8px 10px; } .cm-card small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .06em; color: #8b8f99; margin-bottom: 3px; }
.cm-card b { font-size: 12.5px; } .cm-cliente { background: linear-gradient(135deg, #fdecef, #fdf3ea); } .cm-due { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cm-badge { display: inline-block; font-size: 10px; font-weight: 700; color: #fff; background: #15803d; padding: 2px 7px; border-radius: 5px; }
.cm-note p { margin: 0; font-size: 11.5px; color: #4b5563; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; padding: 6px; }
.cm-dx h6 { margin: 4px 0 0; font-size: 10px; letter-spacing: .08em; color: #4b5563; }
.cm-opz { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 9px; font-size: 11.5px; font-weight: 600; border: 1px solid; }
.cm-v { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; } .cm-a { color: #0891b2; border-color: #bae6fd; background: #f0f9ff; } .cm-o { color: #b45309; border-color: #fde68a; background: #fffbeb; }
.cm-sw { width: 26px; height: 14px; border-radius: 99px; border: 1.5px solid currentColor; opacity: .7; }
.cm-serv { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 9px; background: #f8f9fb; border: 1px solid #eceef3; }
.cm-serv b { font-size: 12px; display: block; } .cm-serv small { font-size: 10px; color: #8b8f99; } .cm-serv strong { font-size: 14px; }
.cm-pag { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .cm-pag span { display: grid; justify-items: center; gap: 3px; padding: 7px 4px; border-radius: 8px; border: 1px solid #e5e7eb; font-size: 10.5px; font-weight: 600; color: #4b5563; transition: all .3s; }
.cm-pag i { font-size: 13px; color: #6b7280; }
.cm-tot { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 10px; background: #1e1b2e; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; } .cm-tot b { font-size: 22px; letter-spacing: 0; }
.cm-piede { height: 60px; display: flex; gap: 8px; align-items: center; padding: 0 14px; background: #fff; border-top: 1px solid #eceef3; }
.cm-piede span { padding: 8px 12px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: #fff; } .cm-piede .cm-ok { background: #4f46e5; } .cm-piede .cm-y { background: #f59e0b; color: #1f2937; } .cm-piede .cm-c { background: #0ea5e9; } .cm-piede .cm-g { background: #fff; color: #0ea5e9; border: 1.5px solid #0ea5e9; }
.sx-gioca .cm-carta { animation: cm-scelta .4s ease 1s both; }
@keyframes cm-scelta { to { background: #eef2ff; border-color: #4f46e5; color: #4f46e5; box-shadow: 0 0 0 2px rgba(79, 70, 229, .25); } }
.sx-gioca .cm-ok { animation: cm-premi .5s ease 1.8s both; }
@keyframes cm-premi { 40% { transform: scale(.92); } 100% { transform: none; box-shadow: 0 0 0 4px rgba(79, 70, 229, .3); } }

/* scontrino */
.sc2, .sc2 * { box-sizing: border-box; } .sc2 { width: 320px; height: 470px; padding: 22px 20px; font-family: "Times New Roman", Times, serif; color: #111; background: #fff; text-align: center; line-height: 1.25; }
.sc2-az { margin: 0 0 12px; font-family: Arial, sans-serif; font-size: 13px; } .sc2-az small { font-size: 9.5px; color: #444; }
.sc2 h5 { margin: 0 0 12px; font-size: 15px; font-weight: 700; } .sc2 h5 small { font-size: 12px; font-weight: 700; }
.sc2 table { width: 100%; border-collapse: collapse; font-size: 11px; margin-bottom: 14px; } .sc2 th, .sc2 td { border: 1px solid #222; padding: 4px 5px; text-align: left; } .sc2 th { font-family: Arial, sans-serif; font-size: 9.5px; }
.sc2 td:nth-child(n+2), .sc2 th:nth-child(n+2) { text-align: right; }
.sc2-riga, .sc2-tot { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 11.5px; text-align: left; } .sc2-tot { font-size: 15px; font-weight: 700; }
.sc2-trat { border-top: 1.5px dashed #555; padding-top: 6px; } .sc2-num { margin: 14px 0 0; font-size: 10px; text-align: left; }
.sx-scena .sx-f-scontrino { opacity: 0; }
.sx-gioca .sx-f-scontrino { animation: sc2-esce 1.1s cubic-bezier(.2, .8, .2, 1) 2.3s both; }
@keyframes sc2-esce { from { opacity: 0; transform: translate(-60px, -20px) rotate(-6deg) scale(.9); } to { opacity: 1; transform: none; } }
.sx-gioca .sx-cassa .c3 { animation-delay: 3.4s; }

/* promo studio */
.pm, .pm * { box-sizing: border-box; } .pm { width: 900px; height: 470px; padding: 16px; font-family: Inter, system-ui, sans-serif; background: #f2ede6; text-align: left; line-height: 1.25; }
.pm-testa { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; margin-bottom: 12px; border-radius: 12px; background: #fff; }
.pm-testa b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; } .pm-testa small { font-size: 11px; color: #8b7d6b; }
.pm-testa span { font-size: 11px; font-weight: 700; padding: 7px 12px; border-radius: 8px; border: 1px solid #e5ddd2; }
.pm-tre { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pm-col { background: #fff; border-radius: 12px; padding: 10px; display: grid; gap: 8px; border: 2px solid transparent; } .pm-col > small { font-family: "Cormorant Garamond", Georgia, serif; font-size: 14px; font-weight: 600; }
.pm-cr { position: relative; height: 270px; border-radius: 10px; overflow: hidden; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.pm-cr b { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 28px; line-height: 1; } .pm-cr p { margin: 0; font-size: 11.5px; line-height: 1.4; }
.pm-cr span { align-self: flex-start; font-size: 9.5px; font-weight: 800; letter-spacing: .16em; padding: 9px 14px; }
.pm-cr em { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .3em; }
.pm-bol { position: absolute; right: 16px; top: 16px; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; font-weight: 600; }
.pm-a { color: #fff; background: radial-gradient(circle at 30% 30%, #5a4632, #1b130c 70%); box-shadow: inset 0 0 0 10px #1b130c, inset 0 0 0 11px #c9a961; } .pm-a em { color: #d4b257; } .pm-a span { background: #d4b257; color: #1b130c; } .pm-a .pm-bol { border: 1.5px solid #d4b257; color: #d4b257; }
.pm-b { color: #26352c; background: radial-gradient(circle at 70% 30%, #e6ecdc, #c5d1b5); } .pm-b span { background: #26352c; color: #fff; border-radius: 99px; } .pm-b .pm-bol { background: #26352c; color: #fff; }
.pm-c { flex-direction: row; padding: 0; } .pm-foto { flex: 1; background: radial-gradient(circle at 50% 40%, #e7b3a3, #a8655a); } .pm-txt { flex: 1.15; background: #f7e7e3; padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; color: #5b2f2a; }
.pm-c b { font-style: italic; font-size: 24px; } .pm-c strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; } .pm-c s { font-size: 13px; opacity: .7; } .pm-c span { background: #3b1f1c; color: #fff; }
.pm-sc { justify-self: stretch; text-align: center; padding: 8px; border-radius: 8px; background: #111; color: #fff; font-size: 11px; font-weight: 700; }
.sx-scena .pm-col { opacity: 0; } .sx-gioca .pm-col { animation: sx-sale .6s cubic-bezier(.2, .9, .25, 1.2) both; }
.sx-gioca .pm-col:nth-child(1) { animation: sx-sale .6s cubic-bezier(.2, .9, .25, 1.2) .3s both, pm-scelta .4s ease 1.9s forwards; }
.sx-gioca .pm-col:nth-child(2) { animation-delay: .55s; } .sx-gioca .pm-col:nth-child(3) { animation-delay: .8s; }
@keyframes pm-scelta { to { border-color: #d81b7a; box-shadow: 0 0 0 4px rgba(216, 27, 122, .15); } }
.sx-gioca .sx-s4 .c4, .sx-s4.sx-gioca .c4 { animation-delay: 2.5s; }

/* costi e guadagni */
.cg, .cg * { box-sizing: border-box; } .cg { width: 720px; height: 560px; padding: 22px 26px; font-family: Inter, system-ui, sans-serif; background: #fdf8f9; color: #2a1530; text-align: center; line-height: 1.25; }
.cg-titolo { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 600; text-align: left; } .cg-sotto { display: block; font-size: 12px; color: #6d5868; text-align: left; }
.cg-arco { width: 330px; display: block; margin: 8px auto 0; overflow: visible; } .cg-arco path { fill: none; stroke-width: 20; stroke-linecap: round; } .cg-arco .f { stroke: #f0e2e8; }
.cg-arco .p { stroke: url(#cgG); stroke-dasharray: 377; stroke-dashoffset: 377; }
.sx-gioca .cg-arco .p { transition: stroke-dashoffset 1.8s cubic-bezier(.2, .8, .2, 1) .3s; stroke-dashoffset: 70; }
.cg-cifra { margin: -70px 0 18px; } .cg-cifra b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 40px; font-weight: 600; } .cg-cifra small { font-size: 12px; color: #6d5868; }
.cg-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; } .cg-kpi div, .cg-tre div { background: #fff; border: 1px solid #efe1e7; border-radius: 12px; padding: 12px 14px; text-align: left; }
.cg-kpi small, .cg-tre small { display: block; font-size: 11px; color: #6d5868; } .cg-kpi .v { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; color: #15803d; } .cg-kpi span { font-size: 10.5px; color: #8d7a88; }
.cg-tre { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .cg-tre b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; color: #d81b7a; }
.sx-scena .cg-kpi div, .sx-scena .cg-tre div { opacity: 0; } .sx-gioca .cg-kpi div, .sx-gioca .cg-tre div { animation: sx-entra .5s ease both; }
.sx-gioca .cg-kpi div:nth-child(1) { animation-delay: 1.4s; } .sx-gioca .cg-kpi div:nth-child(2) { animation-delay: 1.6s; }
.sx-gioca .cg-tre div:nth-child(1) { animation-delay: 1.9s; } .sx-gioca .cg-tre div:nth-child(2) { animation-delay: 2.05s; } .sx-gioca .cg-tre div:nth-child(3) { animation-delay: 2.2s; }

/* scheda google */
.gg, .gg * { box-sizing: border-box; } .gg { width: 900px; height: 560px; padding: 16px; font-family: Inter, system-ui, sans-serif; background: #f5f6fa; color: #1f2937; text-align: left; line-height: 1.3; }
.gg-testa { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .gg-testa b { font-size: 18px; } .gg-testa b i { color: #4285f4; }
.gg-testa span { font-size: 11px; font-weight: 700; color: #fff; background: #2563eb; padding: 7px 12px; border-radius: 99px; }
.gg-griglia { display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: auto auto; gap: 12px; }
.gg-card { background: #fff; border: 1px solid #e7e9f0; border-radius: 12px; padding: 12px 14px; } .gg-card h6 { margin: 0 0 8px; font-size: 12px; } .gg-card h6 i { color: #2563eb; }
.gg-info p { margin: 0 0 8px; font-size: 12px; } .gg-info small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .06em; color: #9ca3af; }
.gg-rec { grid-row: span 2; } .gg-voto { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; } .gg-voto b { font-size: 26px; } .gg-voto span { color: #f5b301; } .gg-voto small { font-size: 11px; color: #6b7280; }
.gg-r { border: 1px solid #eef0f4; border-radius: 10px; padding: 9px 11px; margin-bottom: 8px; font-size: 11.5px; } .gg-r b { margin-right: 6px; } .gg-r span { color: #f5b301; } .gg-r p { margin: 4px 0; }
.gg-r em { display: block; font-style: normal; font-size: 11px; color: #166534; background: #f0fdf4; border-left: 3px solid #22c55e; padding: 6px 8px; border-radius: 4px; }
.gg-th { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; } .gg-th i { aspect-ratio: 1; border-radius: 8px; }
.gg-th i:nth-child(1) { background: linear-gradient(135deg, #f6d0dc, #e3a2b8); } .gg-th i:nth-child(2) { background: linear-gradient(135deg, #efe0bf, #c9a961); } .gg-th i:nth-child(3) { background: linear-gradient(135deg, #d7efe4, #8cc3aa); }
.gg-th i:nth-child(4) { background: linear-gradient(135deg, #e6d5f5, #b99ad9); } .gg-th i:nth-child(5) { background: linear-gradient(135deg, #3a2541, #1b1220); }
.gg-cta { margin: 12px 0 0; font-size: 12px; font-weight: 600; color: #15803d; }
.sx-scena .gg-card, .sx-scena .gg-r, .sx-scena .sx-collegati span { opacity: 0; } .sx-gioca .gg-card, .sx-gioca .gg-r, .sx-gioca .sx-collegati span { animation: sx-entra .5s ease both; }
.sx-gioca .gg-card:nth-child(1) { animation-delay: .3s; } .sx-gioca .gg-card:nth-child(2) { animation-delay: .5s; } .sx-gioca .gg-card:nth-child(3) { animation-delay: .7s; }
.sx-gioca .gg-r.r1 { animation-delay: 1.2s; } .sx-gioca .gg-r.r2 { animation-delay: 1.6s; }
.sx-gioca .sx-collegati span:nth-child(1) { animation-delay: 2s; } .sx-gioca .sx-collegati span:nth-child(2) { animation-delay: 2.15s; } .sx-gioca .sx-collegati span:nth-child(3) { animation-delay: 2.3s; }
.sx-gioca .sx-collegati span:nth-child(4) { animation-delay: 2.45s; } .sx-gioca .sx-collegati span:nth-child(5) { animation-delay: 2.6s; }

.sx-marchi { max-width: 1280px; margin: 30px auto 0; font-size: .78rem; line-height: 1.5; color: var(--sx-tenue); text-align: center; }


/* costruttore del sito (capitolo 06) */
.sb, .sb * { box-sizing: border-box; } .sb { width: 1440px; height: 760px; overflow: hidden; font-family: Inter, system-ui, sans-serif; color: #1f2937; background: #f4f1ec; text-align: left; line-height: 1.3; }
.sb-nav { height: 66px; display: flex; align-items: center; gap: 26px; padding: 0 24px; background: #fff; border-bottom: 2px solid #e9c98c; font-size: 14px; font-weight: 600; color: #3b3f4a; }
.sb-logo { display: flex; align-items: center; gap: 8px; margin-right: 16px; } .sb-logo img { width: 40px; height: 40px; object-fit: contain; }
.sb-logo b { font-size: 18px; background: linear-gradient(90deg, #c9a961, #d81b7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sb-nav .on { color: #d81b7a; border-bottom: 3px solid #d81b7a; padding: 22px 0 19px; } .sb-user { margin-left: auto; padding: 8px 16px; border: 1px solid #efe4cf; border-radius: 30px; background: #fffdf8; }
.sb-corpo { display: grid; grid-template-columns: 820px 1fr; gap: 22px; padding: 18px 24px; }
.sb-sx { display: grid; gap: 14px; align-content: start; }
.sb-box { background: #fff; border: 1px solid #ece6dc; border-radius: 16px; overflow: hidden; }
.sb-ok { display: flex; align-items: center; gap: 14px; padding: 14px 18px; } .sb-ok b { display: block; font-size: 15px; } .sb-ok small { font-size: 12.5px; color: #6b7280; }
.sb-cerchio { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; border: 5px solid #16a34a; }
.sb-tit { position: relative; padding: 14px 18px; background: #faf6ef; border-bottom: 1px solid #ece6dc; } .sb-tit b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; } .sb-tit small { font-size: 12px; color: #6b7280; }
.sb-stile-nome { position: absolute; right: 18px; top: 18px; font-style: normal; font-size: 11px; font-weight: 700; color: #15803d; background: #ecfdf3; border: 1px solid #bbf7d0; padding: 5px 12px; border-radius: 99px; }
.sb-stili { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 14px 18px 18px; }
.sb-st { border: 2px solid #ece6dc; border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .3s, box-shadow .3s; } .sb-st b { display: block; padding: 8px 10px 0; font-size: 12.5px; } .sb-st small { display: block; padding: 2px 10px 10px; font-size: 10.5px; color: #8b8f99; }
.sb-st i { display: grid; place-items: center; height: 82px; font-style: normal; }
.sb-st .t1 { background: url("/images/home/stile_lumiere.webp") center / cover; }
.sb-st .t2 { background: url("/images/home/stile_harmony.webp") center / cover; }
.sb-st .t3 { background: url("/images/home/stile_lumen.webp") center / cover; } .sb-st .t3 span { display: none; }
.sb-st .t4 { background: url("/images/home/stile_urban.webp") center / cover; }
.sb-st .t5 { background: linear-gradient(135deg, #fbd5e4, #f6b2cb); color: #7a2950; } .sb-st .t5 span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; }
.sb-st-lumen { border-color: #d81b7a; box-shadow: 0 0 0 3px rgba(216, 27, 122, .15); }
.sb-ai { border-radius: 18px; padding: 18px 20px; color: #fff; background: linear-gradient(135deg, #2a1636 0%, #3d1b3f 55%, #2a1230 100%); display: grid; gap: 10px; }
.sb-ai > b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; } .sb-ai > b i { color: #f5c77e; margin-right: 6px; } .sb-ai > small { font-size: 12.5px; opacity: .8; }
.sb-ai-campo { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 14px; color: #4b5563; }
.sb-mic { width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 22px; background: radial-gradient(circle at 35% 30%, #f472b6, #d81b7a 70%); box-shadow: 0 0 0 6px rgba(216, 27, 122, .15); }
.sb-ai-campo p { margin: 0; min-height: 64px; font-size: 14px; line-height: 1.5; } .sb-scrive { display: inline-block; }
.sb-ai-btn { justify-self: end; font-size: 14px; font-weight: 700; color: #3d1b3f; background: #fff; padding: 11px 20px; border-radius: 12px; } .sb-ai-btn i { color: #e0a23b; }
.sb-dx { display: grid; gap: 10px; align-content: start; }
.sb-dx-testa { display: flex; justify-content: space-between; align-items: center; } .sb-live { font-size: 12.5px; font-weight: 600; color: #15803d; } .sb-live i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 4px; }
.sb-dev { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid #ece6dc; } .sb-dev em { font-style: normal; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 9px; } .sb-dev .on { background: #111; color: #fff; }
.sb-anteprima { position: relative; height: 470px; border-radius: 18px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 20px 40px -24px rgba(42, 21, 48, .5); }
.sb-sito { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; }
.sb-sito-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 15px; font-weight: 600; }
.sb-sito-nav em { font-family: Inter, sans-serif; font-style: normal; font-size: 10px; font-weight: 700; padding: 5px 12px; border-radius: 99px; }
.sb-sito-hero { padding: 40px 30px; display: flex; flex-direction: column; justify-content: center; gap: 8px; } .sb-sito-hero small { font-size: 9px; font-weight: 700; letter-spacing: .3em; }
.sb-sito-hero b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 52px; font-weight: 500; line-height: 1; } .sb-sito-hero em { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; }
.sb-sito-hero p { display: flex; gap: 8px; margin: 10px 0 0; } .sb-sito-hero p span { font-size: 10.5px; font-weight: 700; padding: 8px 14px; border-radius: 99px; }
.sb-lumen { color: #fff; background:
    linear-gradient(90deg, rgba(26, 14, 6, .78) 0%, rgba(26, 14, 6, .35) 60%, rgba(26, 14, 6, .15) 100%),
    radial-gradient(40% 50% at 78% 40%, #f2c27a 0%, rgba(242, 194, 122, 0) 70%),
    repeating-linear-gradient(90deg, #6b4220 0 18px, #7a4c26 18px 36px), linear-gradient(#8a5a2b, #3a2210); }
.sb-lumen .sb-sito-nav em { background: rgba(255, 255, 255, .85); color: #3a2210; } .sb-lumen .sb-sito-hero small { color: #f2d49b; } .sb-lumen .sb-sito-hero em { color: #f2d49b; font-style: italic; }
.sb-lumen .sb-sito-hero p span { background: rgba(255, 255, 255, .92); color: #3a2210; } .sb-lumen .sb-sito-hero p .v { background: rgba(255, 255, 255, .15); color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.sb-vitality { color: #4a1d33; background: radial-gradient(60% 70% at 80% 30%, #ffffff 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(135deg, #fde4ee 0%, #f7c6da 100%); }
.sb-vitality .sb-sito-nav em { background: #d81b7a; color: #fff; } .sb-vitality .sb-sito-hero small { color: #b0356f; } .sb-vitality .sb-sito-hero em { color: #b0356f; }
.sb-vitality .sb-sito-hero p span { background: #d81b7a; color: #fff; } .sb-vitality .sb-sito-hero p .v { background: #fff; color: #b0356f; }
.sb-nota { text-align: center; font-size: 11.5px; color: #6b7280; }
/* anteprima reale del sito (stile Lumen): foto vera del modello, testi di esempio "Studio Aurora" */
.sb-anteprima { height: 357px; }
.sb-real { position: absolute; inset: 0; color: #fff; background: url("/images/home/anteprima_sito_lumen.webp") center / cover no-repeat; }
.sb-real > * { position: absolute; left: 5.7%; }
.sb-real-marca { top: 2.2%; display: grid; gap: 1px; } .sb-real-marca b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 13px; font-weight: 600; }
.sb-real-marca small { font-size: 5.5px; font-weight: 700; letter-spacing: .25em; opacity: .9; }
.sb-real-occhiello { top: 28%; font-size: 6.5px; font-weight: 700; letter-spacing: .32em; color: #f2e3c6; }
.sb-real-titolo { top: 31%; font-family: "Cormorant Garamond", Georgia, serif; font-size: 44px; font-weight: 500; line-height: 1.05; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.sb-real-sotto { top: 46%; right: 6%; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 24px; line-height: 1.12; color: #f3d9a4; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.sb-real-frase { top: 64.6%; font-size: 8.5px; color: #fff; opacity: .95; }
.sx-scena .sb-real { opacity: 0; } .sx-scena.sx-attivo:not(.sx-gioca) .sb-real { opacity: 1; }
.sx-gioca .sb-real { animation: sb-appare .9s ease 3s both; }
/* animazione: la frase si scrive, "Scrivi con l'AI", il sito compare; poi si cambia stile */
.sx-scena .sb-scrive { clip-path: inset(0 100% 0 0); } .sx-scena .sb-sito { opacity: 0; } .sx-scena.sx-attivo:not(.sx-gioca) .sb-lumen { opacity: 1; }
.sx-gioca .sb-scrive { animation: sb-scrivi 2s steps(60) .4s both; }
@keyframes sb-scrivi { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sx-gioca .sb-mic { animation: sb-mic 1s ease-in-out .3s 2 alternate; } @keyframes sb-mic { to { box-shadow: 0 0 0 14px rgba(216, 27, 122, .22); } }
.sx-gioca .sb-ai-btn { animation: cm-premi .5s ease 2.6s both; }
.sx-gioca .sb-lumen { animation: sb-appare .9s ease 3s both, sb-sparisce .7s ease 5s forwards; }
@keyframes sb-appare { from { opacity: 0; filter: blur(10px); transform: scale(1.04); } to { opacity: 1; filter: none; transform: none; } }
@keyframes sb-sparisce { to { opacity: 0; } }
.sx-gioca .sb-vitality { animation: sb-appare .8s ease 5s both; }

@keyframes sb-desel { to { border-color: #ece6dc; box-shadow: none; } } @keyframes sb-sel { to { border-color: #d81b7a; box-shadow: 0 0 0 3px rgba(216, 27, 122, .15); } }
.sx-gioca .sx-s5b .c5, .sx-s5b.sx-gioca .c5 { animation-delay: 4.4s; }

/* ── Computer: capitoli a sinistra, pannello fermo a destra ── */
@media (min-width: 1000px) {
    .sx-corpo { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
    .sx-cap { min-height: 52vh; padding-top: 22px; }
    .sx-cap:last-child { min-height: 64vh; }
    .sx-cap .sx-nome, .sx-cap .sx-num { transition: color .5s ease; }
    .sx-cap:not(.sx-attivo) .sx-nome { color: var(--sx-spento); }
    .sx-cap:not(.sx-attivo) .sx-strumenti { opacity: 0; transform: translateY(10px); }
    .sx-strumenti { transition: opacity .5s ease, transform .5s ease; }
    .sx-attivo .sx-strumenti li { animation: sx-entra .5s cubic-bezier(.2, .8, .2, 1) both; }
    .sx-attivo .sx-strumenti li:nth-child(2) { animation-delay: .08s; } .sx-attivo .sx-strumenti li:nth-child(3) { animation-delay: .16s; }
    .sx-attivo .sx-strumenti li:nth-child(4) { animation-delay: .24s; } .sx-attivo .sx-strumenti li:nth-child(5) { animation-delay: .32s; }
    .sx-attivo .sx-strumenti li:nth-child(6) { animation-delay: .4s; } .sx-attivo .sx-strumenti li:nth-child(7) { animation-delay: .48s; }
    .sx-pannello { position: sticky; top: calc(50vh - min(19vw, 270px)); }
    .sx-posto { display: none; }
}
@media (max-width: 999px) {
    .sx-pannello { display: none; }
    .sx-posto .sx-scena { padding: 22px 16px; }
    .sx-brief { white-space: normal; max-width: 100%; }
    .sx-gioca .sx-brief { animation: sx-entra .6s ease both; }
    .sx-promo { gap: 8px; }
    .sx-promo span { width: calc((100vw - 120px) / 3); max-width: 120px; height: 130px; }
    .sx-promo b { font-size: 1.2rem; }
    .sx-scontrino { width: min(230px, 100%); }
    .sx-hub { width: calc(100vw - 72px); }
    .sx-laptop { width: calc(100vw - 80px); }
    .sx-telefoni { width: calc(100vw - 72px); height: 440px; }
    .sx-f-larga, .sx-f-costi { width: calc(100vw - 72px); }
    .sx-cassa { width: calc(100vw - 72px); height: auto; display: grid; gap: 14px; justify-items: center; }
    .sx-f-cassa, .sx-f-scontrino, .sx-cassa .c3 { position: relative; left: auto; right: auto; top: auto; bottom: auto; rotate: 0deg; }
    .sx-f-cassa { width: 100%; } .sx-f-scontrino { width: 62%; }
    .sx-trio { width: calc(100vw - 72px); height: auto; display: grid; justify-items: center; gap: 16px; padding: 6px 0; }
    .sx-trio > * { position: relative; left: auto; right: auto; top: auto; bottom: auto; rotate: 0deg; translate: none; }
    .sx-trio .sx-buono { order: -1; width: calc(100% - 30px); max-width: 320px; justify-self: start; grid-template-columns: 1fr 72px; }
    .sx-nodo { font-size: .68rem; padding: 6px 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .sx-scena { transition: none; }
    .sx-scena .a1, .sx-scena .a2, .sx-scena .a3, .sx-scena .a4, .sx-scena .a5, .sx-scena .a6, .sx-scena .c1, .sx-scena .c2, .sx-scena .c3, .sx-scena .c4,
    .sx-scena .b1, .sx-scena .b2, .sx-scena .b3, .sx-scena .b4, .sx-scena .r1, .sx-scena .r2, .sx-scena .r3, .sx-scena .p1, .sx-scena .p2, .sx-scena .p3, .sx-pin { opacity: 1; }
    .sx-arco .p { stroke-dashoffset: 70; }
    .sx-scena .sx-nodo, .sx-scena .sx-abb, .sx-scena .sx-fid, .sx-scena .sx-buono, .sx-scena .sx-timbro, .sx-scena .agm .app, .sx-scena .sx-tel-davanti .m, .sx-scena .sx-tel-davanti .data, .sx-scena .tlm .notifica, .sx-scena .sx-f-scontrino, .sx-scena .pm-col, .sx-scena .cg-kpi div, .sx-scena .cg-tre div, .sx-scena .gg-card, .sx-scena .gg-r, .sx-scena .sx-collegati span, .sx-scena .c5, .sx-scena .sb-vitality { opacity: 1; }
    .sx-scena .sb-scrive { clip-path: none; }
    .sx-scena .sb-real { opacity: 1; }
    .sx-scena .cg-arco .p { stroke-dashoffset: 70; }
}