/* evenue — stile del sito (copiato dal vecchio tema "evenue"), più l'adattamento a Divi qui sotto. */

@font-face { font-family: "Panton"; src: url("fonts/Panton-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Panton"; src: url("fonts/Panton-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Panton"; src: url("fonts/Panton-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Panton"; src: url("fonts/Panton-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Panton"; src: url("fonts/Panton-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
	--bg: #f3f5f5;
	--paper: #ffffff;
	--ink: #002837;
	--slate: #547887;
	--grigio: #52646d;
	--sky: #6b97ab;
	--muted: #5b6d76;
	--line: rgba(0, 40, 55, .12);
	--grad: linear-gradient(100deg, #002837 0%, #547887 60%, #6b97ab 100%);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
	--r: 22px;
	--pad: clamp(20px, 4vw, 56px);
	--font: "Panton", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--amber: #f2b01e;
	--amber-soft: rgba(242, 176, 30, .28);
	--ok: #4fbf7a; /* spuntato e mancante: gli stessi colori di licenze (tema scuro) */
	--ko: #ff8a80;
	--nav-h: 80px;
	--shadow: 0 30px 60px -25px rgba(0, 40, 55, .35), 0 10px 20px -10px rgba(0, 40, 55, .15);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- Adattamento a Divi ----------
   Le sezioni dei layout Divi hanno la classe "evn" (più la classe originale, es. "hero").
   Righe, colonne e moduli di Divi qui "spariscono" (display: contents), così valgono le regole del sito.
   "evn-raw" = sezione con solo shortcode; "evn-c" = riga o elemento che deve sparire. */
body { font-weight: 400; }
#page-container, #et-main-area, #main-content, .et-l, .et_builder_inner_content { background: transparent; }
#page-container { overflow: visible; }
:where(.et_pb_section).evn { padding: 0; background-color: transparent; position: static; }
:where(.evn) .et_pb_row { width: auto; max-width: none; margin: 0; padding: 0; position: static; }
.evn .et_pb_column, .evn .et_pb_module, .evn .et_pb_text_inner, .evn .et_pb_code_inner, .et_pb_section.evn-raw, .evn-raw .et_pb_row, .et_pb_row.evn-c { display: contents; }
.evn .et_pb_row::before, .evn .et_pb_row::after, .evn .et_pb_column::before, .evn .et_pb_column::after, .evn .et_pb_module::before, .evn .et_pb_module::after { content: none; display: none; }
h1, h2, h3, h4, h5, h6 { padding-bottom: 0; color: inherit; font-size: revert; font-weight: revert; line-height: inherit; font-family: inherit; }
p { padding-bottom: 0; }
button { font-family: revert; }
legend { padding: revert; }
.et_pb_text_inner > p.foot__ver { padding-bottom: 28px; }
:is(.entry-content, .et-l--body, .et-l--footer, .et-l--header) :is(ul, ol) { padding: 0; list-style: none; line-height: inherit; }
figure { margin: 0 0 1em; } /* come :where(figure) di WordPress, che il reset di Divi annulla */

/* Divi scrive in testa alcune regole dopo questo foglio (corpo 14px, spazi di sezioni e righe): qui si annullano.
   Le classi doppie (.et_pb_section.hero) vincono su Divi ma lasciano vincere le modifiche fatte nel builder. */
html body { font-size: 18px; }
/* Misura dei testi: 18px almeno; sopratitoli maiuscoli e copyright 15px (la scala del pannello comune dei prodotti).
   Questi moduli Divi hanno nel builder una misura più piccola (pulsanti 15, sopratitoli 13, piede 13-17, passi 17).
   Divi scrive le sue regole con #page-container e #et-boc davanti: per vincere serve l'id ripetuto.
   Per tornare a decidere la misura dal builder, togliere la riga. Elenco anche nel LEGGIMI (release/…/LEGGIMI.md). */
html body #page-container#page-container#page-container .et_pb_section .et_pb_button { font-size: 18px; }
#page-container#page-container .et_pb_text.evn-occhiello { font-size: 15px; letter-spacing: .14em; }
#page-container#page-container .et-l--footer .et_pb_text { font-size: 18px; }
#page-container#page-container .et-l--footer .et_pb_text.evn-copy { font-size: 15px; }
#page-container#page-container .et_pb_blurb.et_pb_blurb { font-size: 18px; }
.et_pb_section.evn { padding: 0; }
.et_pb_row.wrap { padding: 0 var(--pad); }
.et_pb_section.hero { padding: calc(var(--nav-h) + 20px) 0 80px; }
.et_pb_section.clients { padding: clamp(80px, 11vw, 150px) 0; }
.et_pb_section.studio { padding: clamp(80px, 10vw, 140px) 0; }
.et_pb_section.contact { padding: clamp(90px, 12vw, 170px) 0; }
.et_pb_section.cta-band { padding: clamp(70px, 9vw, 120px) 0; }
@media (max-width: 860px) {
	.et_pb_section.hero { padding-top: 110px; }
}
/* righe e colonne "sparite": i figli diretti che il sito si aspetta */
.studio__in .et_pb_text_inner > div { display: grid; gap: 22px; align-content: start; }
body.home .cta-band { display: none; }
/* Footer in tre sezioni (Parliamone, Newsletter, Footer): le righe .nl e .foot__cols hanno anche la larghezza di .wrap,
   quindi la linea sotto la newsletter si disegna dentro i margini */
.et_pb_row.wrap.nl { padding: clamp(40px, 5vw, 64px) var(--pad) clamp(32px, 4vw, 48px); border-bottom: 1px solid transparent; background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, .14)) center bottom / calc(100% - 2 * var(--pad)) 1px no-repeat border-box; }
.et_pb_row.wrap.foot__cols { padding: clamp(40px, 5vw, 64px) var(--pad) clamp(48px, 6vw, 72px); }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.h1, .h2 { font-weight: 900; letter-spacing: -.02em; line-height: .98; }
.h1 { font-size: clamp(44px, 7.4vw, 112px); }
.h2 { font-size: clamp(36px, 5vw, 76px); }
.dot { font-style: normal; color: var(--amber); }
/* il punto giallo non va mai a capo da solo: Divi spezza le parole dei titoli (word-wrap), qui no */
:is(h1, h2, h3):has(.dot) { overflow-wrap: normal; word-wrap: normal; }
mark { background: linear-gradient(transparent 58%, var(--amber-soft) 58%, var(--amber-soft) 92%, transparent 92%); color: var(--ink); font-weight: 700; padding: 0 .08em; }
.head__lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 640px; }

/* ---------- Pulsanti: UN solo stile per tutto il sito (alti 42px come i pulsanti Divi, 40px nel menu, testo 18px grassetto). Non aggiungere altezze o padding diversi ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 99px; font: 700 18px/1 var(--font); cursor: pointer; border: 0; transition: color .45s var(--ease); white-space: nowrap; }
.btn::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 100%; width: 150%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, 0) scale(.2); transition: transform .6s var(--ease); }
.btn:hover::before { transform: translate(-50%, -55%) scale(1); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--amber); }
.btn--dark:hover { color: var(--ink); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light::before { background: var(--sky); }
.btn--light:hover { color: #fff; }

.chip { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 99px; font-size: 18px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-on { background: var(--amber); color: var(--ink); box-shadow: none; }
.tags-nav { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Logo e marchio ---------- */
.logo { display: inline-flex; flex: none; }
.logo img { height: 48px; width: auto; }
.logo__w { display: none; }
.nav.is-scrolled .logo__full { display: none; }
.nav.is-scrolled .logo__w { display: block; height: 32px; }
.mark { display: block; overflow: visible; }
/* La seconda U si fonde con la prima (moltiplica). Sul gruppo intero, non sul riempimento: così il colore fuso resta uguale mentre la U scorre, senza scatto alla fine */
.mark__u--b { mix-blend-mode: multiply; }

/* ---------- Navigazione ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(243, 245, 245, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: background .4s, border-color .4s; }
.nav__in { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); height: var(--nav-h); display: flex; align-items: center; gap: 36px; transition: height .45s var(--ease); }
.nav.is-scrolled .nav__in { height: 58px; }
.nav__links { display: flex; gap: 32px; margin-left: auto; font-weight: 600; font-size: 18px; }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { height: 40px; padding: 0 18px; font-size: 18px; transition: height .45s var(--ease), color .45s var(--ease); }
.nav.is-scrolled .nav__cta { height: 36px; }
.nav.is-scrolled { background: rgba(243, 245, 245, .84); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav__sheet { display: none; }

/* ---------- Ingresso ---------- */
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.intro { display: inline-block; opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
div.intro, p.intro { display: block; }
.mask .intro { transform: translateY(105%); }
.is-ready .intro { opacity: 1; transform: none; }
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * .08s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { --hs: clamp(56px, 8.4vw, 140px); position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 20px) 0 80px; }
.hero__in { display: grid; justify-items: start; }
.hero__row { display: flex; align-items: center; justify-content: space-between; gap: 4vw; width: 100%; margin: 22px 0 34px; }
.hero__title { font-size: var(--hs); font-weight: 900; letter-spacing: -.03em; line-height: .9; }
.hero__art { flex: none; height: calc(var(--hs) * 2.75); aspect-ratio: 69.6 / 53.6; }
.hero__lead { max-width: 820px; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.45; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__mark { width: 100%; height: 100%; transform: translate3d(var(--tx, 0), var(--ty, 0), 0); transition: transform 1.2s var(--ease); }
.hero__mark .mark__line { stroke-width: .45; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-io) .3s, opacity .8s ease 1.9s; }
.hero__mark .mark__fill { opacity: 0; transition: opacity 1s ease 1.5s; }
.hero__mark .mark__u { transition: transform 1.3s var(--ease) 1.7s; }
.hero__mark .mark__u--b { transform: translateX(14px); }
/* is-drawn: messa da main.js quando la W entra in vista, tolta quando esce (così il disegno riparte). is-reset: torna indietro senza transizione */
.hero__mark.is-drawn .mark__line { stroke-dashoffset: 0; opacity: 0; }
.hero__mark.is-drawn .mark__fill { opacity: 1; }
.hero__mark.is-drawn .mark__u--b { transform: none; }
.hero__mark.is-reset * { transition: none !important; }
/* W completa (dopo 3,2 s): si muove tutto il logo insieme, piano e fluido. Le due U restano unite.
   Usa translate/rotate, non transform, così si somma al movimento del mouse */
.hero__mark.is-drawn { animation: evn-respiro 9s ease-in-out 3.2s infinite; }
@keyframes evn-respiro { 0%, 100% { translate: 0 0; rotate: 0deg; } 33% { translate: 4px -7px; rotate: -.6deg; } 66% { translate: -3px -3px; rotate: .4deg; } }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--line); transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Reparti (scorrimento orizzontale) ---------- */
.rep { position: relative; height: calc(var(--n) * 100vh); background: var(--paper); }
.rep__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.rep__head { padding-top: 96px; display: grid; gap: 14px; }
.rep__nav { display: flex; gap: 28px; font-weight: 600; font-size: 18px; color: var(--muted); }
.rep__nav li { transition: color .4s; }
.rep__nav li.is-on { color: var(--ink); }
.rep__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rep__bar i { display: block; height: 100%; background: var(--amber); transform-origin: left; transform: scaleX(var(--prog, 0)); }
.rep__track { flex: 1; display: flex; width: calc(var(--n) * 100vw); transform: translate3d(var(--x, 0), 0, 0); will-change: transform; }
.panel { --pp: 0; width: 100vw; flex: none; overflow: hidden; display: grid; grid-template-columns: minmax(300px, .75fr) 1.25fr; align-items: center; gap: clamp(32px, 5vw, 90px); padding: 0 var(--pad) 40px; max-width: none; }
.panel__text { display: grid; gap: 22px; justify-items: start; max-width: 460px; margin-left: max(0px, calc((100vw - 1440px) / 2)); }
.panel__num { font-size: 18px; font-weight: 700; color: var(--muted); }
.panel__title { font-size: clamp(44px, 4.6vw, 68px); font-weight: 900; letter-spacing: -.025em; line-height: 1.02; }
.panel__lead { color: var(--muted); font-size: 19px; }
.panel__art { position: relative; height: min(64vh, 620px); }
.panel__empty { color: var(--muted); }

/* finestra browser */
.browser { display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #e9eef0; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d3d7; }
.browser__url { margin-left: 10px; flex: 1; max-width: 320px; height: 18px; border-radius: 6px; background: #fff; font-size: 11px; line-height: 18px; padding: 0 10px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.browser__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.browser:hover .browser__shot img { transform: scale(1.03); }

.stack { position: absolute; inset: 0; }
.stack__i { position: absolute; width: 70%; transform: translate3d(calc(var(--pp) * var(--k, 0) * -60px), 0, 0); }
.stack__i:nth-child(1) { left: 0; top: 0; z-index: 1; }
.stack__i:nth-child(2) { right: 0; top: 22%; z-index: 2; width: 62%; }
.stack__i:nth-child(3) { left: 16%; bottom: 0; z-index: 3; width: 56%; }
.stack--1 .stack__i { width: 92%; top: 50%; translate: 0 -50%; }
.stack--2 .stack__i:nth-child(1) { width: 74%; }
.stack--2 .stack__i:nth-child(2) { width: 66%; top: auto; bottom: 0; }
.stack .item__meta { display: none; }

.logos { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.logos .item--logo { height: 100%; }

.fan { position: absolute; inset: 0; }
.fan__i { position: absolute; top: 50%; left: 50%; width: 46%; transform: translate(-50%, -50%) translate(calc((var(--k) - (var(--c, 4) - 1) / 2) * 34%), calc(var(--pp) * var(--k) * 12px)) rotate(calc((var(--k) - (var(--c, 4) - 1) / 2) * 5deg)); transition: transform .8s var(--ease); }
.fan:hover .fan__i { transform: translate(-50%, -50%) translate(calc((var(--k) - (var(--c, 4) - 1) / 2) * 52%), 0) rotate(calc((var(--k) - (var(--c, 4) - 1) / 2) * 2deg)); }
.fan .item--print .item__img { box-shadow: var(--shadow); border-radius: 12px; overflow: hidden; display: block; }
.fan .item--print .item__cap { display: none; }

/* ---------- Item (card lavoro) ---------- */
.item__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 4px 0; }
.item__meta h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.item__ext { font-size: 18px; font-weight: 600; color: var(--slate); }
.item__ext:hover { color: var(--ink); box-shadow: inset 0 -2px 0 var(--amber); }
.item--logo { display: grid; grid-template-rows: 1fr auto; background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); padding: 18px; transition: box-shadow .4s, transform .5s var(--ease); }
.item--logo:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(-4px); }
.item__logo { display: grid; place-items: center; padding: 10% 12%; min-height: 0; }
.item__logo img { max-height: 120px; width: auto; max-width: 100%; object-fit: contain; }
.item--logo .item__cap { font-size: 18px; color: var(--muted); font-weight: 600; text-align: center; }
.item--print { display: block; }
.item--print .item__img { display: block; border-radius: 14px; overflow: hidden; background: #e6eaeb; }
.item--print .item__img img { width: 100%; transition: transform 1.2s var(--ease); }
.item--print:hover .item__img img { transform: scale(1.03); }
.item--print .item__cap { display: block; padding: 12px 4px 0; font-size: 18px; color: var(--muted); }
.item--print .item__cap b { color: var(--ink); }

/* ---------- Clienti ---------- */
.clients { padding: clamp(80px, 11vw, 150px) 0; }
.head { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 64px); }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.head--row > div { display: grid; gap: 22px; }
.clients__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.clients__grid a { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 26px; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: box-shadow .4s; }
.clients__grid a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.clients__grid img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.clients__grid span { font-weight: 900; font-size: 19px; letter-spacing: -.02em; text-align: center; transition: transform .5s var(--ease); }
.clients__grid small { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 18px; font-weight: 600; color: var(--slate); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.clients__grid a:hover img { filter: none; opacity: 1; transform: translateY(-8px); }
.clients__grid a:hover span { transform: translateY(-8px); }
.clients__grid a:hover small { opacity: 1; transform: none; }

/* ---------- Studio ---------- */
.studio { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.studio__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.studio__in > div { display: grid; gap: 22px; align-content: start; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-weight: 700; font-size: 18px; color: var(--muted); padding-top: 6px; }
.steps b { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.steps span { color: var(--muted); }

/* ---------- Contatti ---------- */
.contact { background: var(--ink); color: #fff; padding: clamp(90px, 12vw, 170px) 0; }
.contact .eyebrow { color: rgba(255, 255, 255, .6); }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__intro { display: grid; gap: 24px; position: sticky; top: 120px; }
.contact__title { font-size: clamp(60px, 9vw, 150px); font-weight: 900; letter-spacing: -.03em; line-height: .9; }
.contact__intro > p { color: rgba(255, 255, 255, .7); font-size: 19px; }
.contact__direct { display: grid; gap: 6px; }
.contact__direct a { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; width: fit-content; background: linear-gradient(#fff, #fff) left bottom / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.contact__direct a:hover { background-size: 100% 1.5px; }
.form { display: grid; gap: 22px; }
.chips { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; margin-bottom: 14px; font-size: 18px; color: rgba(255, 255, 255, .78); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 99px; font-size: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); cursor: pointer; font-weight: 500; transition: background .3s, color .3s, box-shadow .3s; }
.chips label:hover span { box-shadow: inset 0 0 0 1px #fff; }
.chips input:checked + span { background: #fff; color: var(--ink); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 3px; }
/* Campi: niente etichetta sopra (il nome è dentro il campo, l'etichetta resta per chi usa lo screen reader) e fondo più chiaro del riquadro */
.field { display: block; }
.field input, .field textarea { display: block; width: 100%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; color: #fff; font: 500 20px/1.4 var(--font); padding: 16px 18px; outline: none; resize: vertical; caret-color: var(--amber); transition: border-color .3s, background .3s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .72); opacity: 1; }
/* il colore va ripetuto: Divi scurisce il testo dei campi mentre si scrive (input[type=text]:focus) */
.field input:focus, .field textarea:focus { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--ko); }
/* Consenso: riquadro evidente con la spunta disegnata (giallo da spuntare, verde spuntato, rosso se manca), come .conferma di licenze */
.check { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 2px solid var(--amber); border-radius: 14px; background: rgba(242, 176, 30, .1); font-size: 19px; font-weight: 600; line-height: 1.45; color: #fff; cursor: pointer; transition: border-color .3s, background .3s; }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 30px; height: 30px; margin: 0; padding: 0; display: inline-grid; place-content: center; border: 2px solid var(--amber); border-radius: 8px; background: transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.check input::before { content: ""; width: 14px; height: 8px; border: 3.5px solid var(--ink); border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .12s; }
.check input:checked::before { transform: translateY(-2px) rotate(-45deg) scale(1); }
.check:has(input:checked) { border-color: var(--ok); background: rgba(79, 191, 122, .14); }
.check:has(input:checked) input { background: var(--ok); border-color: var(--ok); }
.check:has(input:user-invalid) { border-color: var(--ko); background: rgba(255, 138, 128, .14); }
.check:has(input:user-invalid) input { border-color: var(--ko); }
.form .btn { justify-self: start; margin-top: 8px; }
.form__msg { padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.form__msg--ok { background: rgba(107, 151, 171, .2); color: #cfe3ec; }
.form__msg--err { background: rgba(255, 120, 120, .15); color: #ffb3b3; }
.form__note { font-size: 18px; color: rgba(255, 255, 255, .7); }
.form__note a { text-decoration: underline; }
.grecaptcha-badge { visibility: hidden; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.cta-band { background: var(--ink); color: #fff; padding: clamp(70px, 9vw, 120px) 0; }
.cta-band__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot { background: var(--grigio); color: #fff; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber::before { background: #fff; }
.nl { border-bottom: 1px solid rgba(255, 255, 255, .14); padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: start; }
:is(.nl, .evn-nl) h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(24px, 2.3vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.nl__ico { flex: none; width: 1.1em; height: 1.1em; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linejoin: round; }
.nl__testo p { margin-top: 8px; font-size: 18px; color: rgba(255, 255, 255, .82); }
.nl__riga { display: flex; gap: 12px; align-items: center; }
.nl__riga[hidden] { display: none; }
.nl__riga input { flex: 1 1 auto; min-width: 0; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; color: #fff; font: 500 20px/1.4 var(--font); padding: 13px 18px; outline: none; caret-color: var(--amber); transition: border-color .3s, background .3s; }
.nl__riga input::placeholder { color: rgba(255, 255, 255, .7); }
.nl__riga input:focus { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }
.nl__riga .btn { flex: none; }
.nl__riga .btn:disabled { opacity: .5; cursor: default; }
.nl__esito { margin-top: 12px; font-weight: 600; }
.nl__esito:empty { display: none; }
.nl__esito.is-ok { color: var(--amber); }
.nl__esito.is-err { color: #ffb3b3; }
.nl__nota { margin-top: 14px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .75); max-width: 560px; }
.nl__nota a { color: var(--amber); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 72px); }
.foot__az .logo img { width: 110px; height: auto; }
.foot__az p { margin-top: 24px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.foot__az a:hover { color: var(--amber); }
.foot__tit { font-size: 20px; font-weight: 700; padding-bottom: 6px; }
.foot__menu li + li { border-top: 1px solid rgba(255, 255, 255, .2); }
.foot__menu .foot__tit + li { border-top: 0; }
.foot__menu a { display: block; padding: 15px 0; font-size: 18px; color: rgba(255, 255, 255, .85); transition: color .3s; }
.foot__menu a:hover { color: #fff; }
.foot__wa a { display: inline-flex; align-items: center; gap: 8px; color: #8ff092; }
.foot__wa a:hover { color: #c2f8c3; }
.foot__wico { width: 20px; height: 20px; fill: currentColor; }
.foot__ver { border-top: 1px solid rgba(255, 255, 255, .15); padding: 22px var(--pad) 28px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .7); }

/* ---------- Pagine interne ---------- */
.page { padding: 150px 0 clamp(80px, 10vw, 140px); }
.page__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 1100px; }
/* Download Area (ID 207, modello Theme Builder "Download Area"): area a tutta pagina, piede sempre in fondo */
.page-id-207 #et-main-area { display: flex; flex-direction: column; min-height: 100vh; }
.page-id-207 #main-content { flex: 1; }
.page-id-207 .et-l--footer { position: relative; z-index: 5; }
/* Modulo Menu di Divi (es. nel piede): la sua classe "nav" non deve prendere lo stile del menu in alto */
.et_pb_menu .et-menu.nav { position: static; inset: auto; z-index: auto; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; }
.page__head--client { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.page__head--client > div:first-child { display: grid; gap: 22px; max-width: 900px; }
.client__logo { width: min(360px, 80vw); background: #fff; border-radius: var(--r); padding: 36px; box-shadow: inset 0 0 0 1px var(--line); }
.client__logo img { margin: 0 auto; max-height: 140px; width: auto; }
.client__count { display: flex; flex-wrap: wrap; gap: 8px; }
.client__count a { display: inline-flex; gap: 8px; align-items: center; height: 44px; padding: 0 18px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 18px; font-weight: 600; }
.client__count b { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 18px; }
.client__sec { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.client__sec + .client__sec { margin-top: clamp(48px, 6vw, 80px); }
.client__h { font-size: 28px; font-weight: 900; letter-spacing: -.03em; margin-bottom: 28px; }
.client__more { grid-column: 1 / -1; }
.client__more figure, .client__more .wp-block-gallery { margin: 0; }
.client__more img { border-radius: 12px; }

.list { display: grid; gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.list--web { grid-template-columns: repeat(2, 1fr); }
.list--logo { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.list--logo .item--logo { aspect-ratio: 4 / 3; }
.list--print { grid-template-columns: repeat(3, 1fr); align-items: start; }
.entry__body { max-width: 760px; font-size: 19px; }
.entry__body > * + * { margin-top: 1.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.panel { grid-template-columns: 1fr; align-content: center; gap: 28px; }
	.panel__art { height: 48vh; }
	.list--print { grid-template-columns: repeat(2, 1fr); }
}
/* menu a pulsante: fino a 1040px le voci non stanno su una riga (con 6 voci servono circa 975px) */
@media (max-width: 1040px) {
	.nav__links, .nav__cta { display: none; }
	.nav__burger { display: block; }
	.nav__sheet { display: grid; gap: 4px; padding: 0 var(--pad); max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), padding .6s var(--ease); background: var(--bg); }
	.nav__sheet a { font-size: 34px; font-weight: 900; letter-spacing: -.02em; padding: 6px 0; }
	.nav.is-open { background: var(--bg); }
	.nav.is-open .nav__sheet { max-height: 420px; padding-bottom: 28px; }
}
@media (max-width: 860px) {
	:root { --nav-h: 68px; }
	.logo img { height: 40px; }
	.nav.is-scrolled .logo__w { height: 28px; }
	.nav.is-scrolled .nav__in { height: 56px; }
	.hero { padding-top: 110px; }
	.hero__row { flex-direction: column; align-items: flex-start; gap: 24px; }
	.hero__art { order: -1; height: auto; width: 46%; }
	.hero__scroll { display: none; }
	/* reparti in verticale */
	.rep { height: auto; }
	.rep__sticky { position: static; height: auto; overflow: visible; }
	.rep__head { display: none; }
	.rep__track { flex-direction: column; width: auto; transform: none !important; }
	.panel { width: auto; padding: 72px var(--pad); border-bottom: 1px solid var(--line); }
	.panel__text { margin-left: 0; }
	.panel__art { height: 74vw; }
	.logos { grid-template-columns: repeat(2, 1fr); }
	.logos .item--logo:nth-child(n + 5) { display: none; }
	.list--web, .list--print { grid-template-columns: 1fr; }
	.clients__grid { grid-template-columns: repeat(2, 1fr); }
	.clients__grid a { padding: 16px; }
	.studio__in, .contact__in { grid-template-columns: 1fr; }
	.contact__intro { position: static; }
	.nl { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.intro, [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Loghi: motion graphics ---------- */
.reel { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; gap: 22px; }
.reel__stage { position: relative; border-radius: var(--r); background: var(--bg); overflow: hidden; }
.reel__bg { position: absolute; right: -14%; bottom: -30%; width: 48%; opacity: .035; }
.reel__item { position: absolute; inset: 0; display: grid; place-items: center; padding: 10% 14%; opacity: 0; transform: translateY(46px) scale(.95); filter: blur(10px); transition: opacity .7s ease, transform 1.1s var(--ease), filter .9s ease; pointer-events: none; }
.reel__item img { max-height: 70%; max-width: 100%; width: auto; object-fit: contain; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-io) .15s; }
.reel__item.is-on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.reel__item.is-on img, .reel__item.is-out img { clip-path: inset(0 0 0 0); }
.reel__item.is-out { opacity: 0; transform: translateY(-46px) scale(1.03); filter: blur(8px); }
.reel__names { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.reel__names li { position: relative; padding-bottom: 10px; }
.reel__names button { font: 600 18px/1.2 var(--font); color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; transition: color .3s; }
.reel__names li.is-on button, .reel__names button:hover { color: var(--ink); }
.reel__names i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); overflow: hidden; }
.reel__names i::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.reel__names li.is-on i::after { animation: reelbar var(--reel-t, 3s) linear forwards; }
.reel.is-paused .reel__names li.is-on i::after { animation-play-state: paused; }
@keyframes reelbar { to { transform: scaleX(1); } }

/* ---------- Clienti: loghi che scorrono ---------- */
.clients { overflow: hidden; }
.flow { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.flow + .flow { margin-top: 8px; }
.flow__track { display: flex; width: max-content; animation: flow 48s linear infinite; }
.flow--rev .flow__track { animation-direction: reverse; animation-duration: 56s; }
.flow:hover .flow__track { animation-play-state: paused; }
@keyframes flow { to { transform: translateX(-50%); } }
.flow__i { flex: none; margin-right: 14px; height: 112px; min-width: 230px; padding: 0 40px; display: grid; place-items: center; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .5s var(--ease); }
.flow__i img { max-height: 54px; max-width: 190px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.flow__i span { font-weight: 900; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.flow__i:hover { box-shadow: inset 0 0 0 2px var(--amber); transform: translateY(-3px); }
.flow__i:hover img { filter: none; opacity: 1; }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; }
.crumbs__back { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.crumbs__back svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease), stroke .3s; }
.crumbs__back:hover { background: var(--ink); box-shadow: none; }
.crumbs__back:hover svg { stroke: #fff; transform: translateX(-3px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .4; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] span { background: var(--amber); color: var(--ink); padding: 5px 14px; border-radius: 99px; }

@media (max-width: 860px) {
	.reel { position: relative; inset: auto; height: 100%; }
	.flow__i { height: 84px; min-width: 170px; padding: 0 26px; }
	.flow__i img { max-height: 40px; max-width: 140px; }
	.flow__i span { font-size: 18px; }
}
.more-nav { display: grid; gap: 18px; margin-top: clamp(60px, 8vw, 110px); padding-top: 36px; border-top: 1px solid var(--line); }

/* =========================================================
   PAGINA LAVORO — presentazione del logo
   ========================================================= */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* apertura: solo il percorso, la pagina corrente in giallo */
.lp { padding-top: calc(var(--nav-h) + 26px); }
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; padding-bottom: 26px; }
.lp-top .crumbs { font-size: 18px; }
.lp-title { display: flex; align-items: center; gap: .25em; margin: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.01em; }
.lp-title a { font-weight: 400; color: var(--muted); transition: color .3s; }
.lp-title a:hover { color: var(--ink); }
.lp-title .ico { width: .6em; height: .6em; color: var(--amber); stroke-width: 3; }
.lp-title span { font-weight: 900; }
/* pagina del lavoro (siti, web app, grafica): sopra il titolo c'è il cliente, cliccabile */
.lp-head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; row-gap: 20px; padding-bottom: clamp(28px, 3vw, 40px); }
.lp-head .eyebrow { margin-bottom: -10px; }
.lp-head .eyebrow a { transition: color .3s; }
.lp-head .eyebrow a:hover { color: var(--ink); }
.crumbs__h1 { display: inline; margin: 0; font: inherit; background: var(--amber); color: var(--ink); padding: 5px 14px; border-radius: 99px; }

/* foto a tutta larghezza: si avvicina mentre scorri */
.lp-cover { --cv: 0; margin: 0; height: min(78vh, 760px); overflow: hidden; background: #e7ebeb; }
.lp-cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.16 - var(--cv) * .16)); transform-origin: 50% 40%; }
.is-ready .lp-cover img { transition: transform .2s linear; }

/* lo studio: bozze a sinistra, la scelta che diventa il logo a destra */
.st { padding-top: clamp(80px, 10vw, 140px); }
.st .h2 { margin-bottom: clamp(30px, 4vw, 52px); }
.st__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; align-items: stretch; }
.st__ideas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.st__cell { position: relative; border-radius: 18px; overflow: hidden; background: #fbfaf6; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: box-shadow .5s ease 1.9s; }
.st__cell svg { display: block; width: 100%; height: auto; }
[data-step].in .st__cell.is-pick { box-shadow: inset 0 0 0 3px var(--amber); }
.st__morph { position: relative; border-radius: var(--r); background: #fbfaf6; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; min-height: 320px; }
.st__sk { width: 88%; transition: opacity .5s ease 4s, filter .5s ease 4s; }
.st__sk svg { display: block; width: 100%; height: auto; }
.st__final { position: absolute; width: 64%; opacity: 0; transform: scale(1.04); transition: opacity .6s ease 4.1s, transform 1s cubic-bezier(.16, 1, .3, 1) 4.1s; }
[data-step].in .st__sk { opacity: 0; filter: blur(6px); }
[data-step].in .st__final { opacity: 1; transform: none; }

/* tratti a mano che si disegnano */
.sk .s, .sk .h, .sk .c { stroke-dasharray: 1; stroke-dashoffset: 1; }
.sk .c { opacity: .45; }
.sk .f { fill: #262626; stroke: none; opacity: 0; }
[data-step] .sk .s, [data-step] .sk .h, [data-step] .sk .c { transition: stroke-dashoffset 1.3s cubic-bezier(.45, 0, .25, 1) calc(var(--k, 0) * .25s); }
[data-step] .sk .h { transition-delay: calc(var(--k, 0) * .25s + .7s); transition-duration: .8s; }
[data-step] .sk .f { transition: opacity .7s ease calc(var(--k, 0) * .25s + .9s); }
[data-step].in .sk .s, [data-step].in .sk .h, [data-step].in .sk .c { stroke-dashoffset: 0; }
[data-step].in .sk .f { opacity: .92; }

/* scorrimento orizzontale (foto vere delle applicazioni) */
.hs { position: relative; height: calc(var(--n) * 70vh + 60vh); }
.hs__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 40px); padding-top: 60px; }
.hs__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); width: max-content; padding: 0 var(--pad) 0 max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad))); transform: translate3d(var(--x, 0), 0, 0); will-change: transform; }
.hs__item { --pp: 0; --ink: 0; flex: none; }

/* 6. altri lavori del cliente */
.more { padding-top: clamp(40px, 5vw, 70px); }

/* 7. carosello correlati */
.carousel { padding: clamp(80px, 10vw, 140px) 0; }
.carousel__ctrl { display: flex; gap: 10px; }
.carousel__ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s; }
.carousel__ctrl button:hover { background: var(--amber); }
.carousel__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--pad) 20px max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad))); scrollbar-width: none; cursor: grab; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.carousel__i { flex: none; width: min(420px, 78vw); scroll-snap-align: start; }
.carousel__i .item--logo { aspect-ratio: 4 / 3; height: auto; }

@media (max-width: 860px) {
	.st__grid { grid-template-columns: 1fr; }
	.st__morph { min-height: 0; padding: 18px 0; }
	.lp-cover { height: 52vh; }
	.st__ideas { grid-template-columns: 1fr 1fr; gap: 10px; }

}

.h2--xb { font-weight: 800; }
.link-arrow { font-weight: 700; display: inline-flex; gap: 10px; align-items: center; padding-bottom: 3px; box-shadow: inset 0 -2px 0 var(--amber); }
.link-arrow::after { content: "→"; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* =========================================================
   L'idea (dgCard): dal QR al segno, costruzione, lettering
   ========================================================= */
.idea { padding-top: clamp(50px, 6vw, 80px); }
.idea .h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.idea3 { display: grid; grid-template-columns: repeat(4, minmax(0, 190px)); justify-content: center; align-items: center; gap: clamp(20px, 4vw, 70px); }
.idea3 figure { margin: 0; }
.idea3 svg, .idea3 img { display: block; width: 100%; aspect-ratio: 1; fill: #17131B; }
.idea3 img { object-fit: contain; }
.idea3 figcaption { font-size: 18px; font-weight: 700; color: var(--muted); }
.idea3__dash { fill: none; stroke: #E50043; stroke-width: 3.5; stroke-dasharray: 9 7; }

/* =========================================================
   Fondo scuro: logo bianco a sinistra, a colori a destra
   ========================================================= */
.band { margin-top: clamp(50px, 6vw, 80px); background: var(--fondo, #10171c); display: grid; grid-template-columns: 1fr 1fr; }
.band__half { display: grid; place-items: center; align-content: center; gap: 30px; padding: clamp(56px, 7vw, 100px) clamp(24px, 5vw, 80px); }
.band__half + .band__half { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .08); }
.build--color .build__p { transition-delay: calc(.15s + var(--k) * .13s); }
.build--white .build__p { transition-delay: calc(.65s + var(--k) * .13s); }
.build { position: relative; width: min(100%, 520px); aspect-ratio: var(--ar); }
.build--white { filter: brightness(0) invert(1); }
.build__p { position: absolute; overflow: hidden; opacity: 0; transform: translateY(46px) scale(.5) rotate(-14deg); transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) calc(.15s + var(--k) * .13s), opacity .35s ease calc(.15s + var(--k) * .13s); }
.build__p:nth-child(even) { transform: translateY(-46px) scale(.5) rotate(12deg); }
.build--color .build__p { transition-delay: calc(.65s + var(--k) * .13s); }
.build__p i { position: absolute; background: var(--img) 0 0 / 100% 100% no-repeat; }
.build__p:last-child { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1) calc(.25s + var(--k) * .13s); }
.build--color .build__p:last-child { transition-delay: calc(.75s + var(--k) * .13s); }
[data-step].in .build__p { opacity: 1; transform: none; }
[data-step].in .build__p:last-child { clip-path: inset(0 0 0 0); }
.band__codes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: rgba(255, 255, 255, .8); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.band__codes li { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(10px); transition: opacity .5s ease calc(1.8s + var(--j) * .12s), transform .6s var(--ease) calc(1.8s + var(--j) * .12s); }
.band__codes i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
[data-step].in .band__codes li { opacity: 1; transform: none; }

/* =========================================================
   Icone e riduzioni
   ========================================================= */
.kit { display: grid; gap: clamp(24px, 4vh, 48px); }
.pin { position: relative; }
.pin__sticky { position: sticky; top: 0; height: 100svh; padding-top: var(--nav-h); display: flex; flex-direction: column; justify-content: space-evenly; overflow: hidden; }
.kit__icons { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 3vw, 44px); }
.ic { width: clamp(84px, 8vw, 116px); aspect-ratio: 1; border-radius: 26%; display: grid; place-items: center; box-shadow: 0 18px 30px -16px rgba(0, 20, 30, .4); opacity: 0; transform: translateY(30px) scale(.6); transition: transform .8s cubic-bezier(.34, 1.56, .64, 1) calc(.1s + var(--k) * .12s), opacity .3s ease calc(.1s + var(--k) * .12s); }
.ic img { width: 58%; }
.ic--avatar { border-radius: 50%; background: #fff; }
.ic--brand { background: var(--c); }
.ic--brand img { filter: brightness(0) invert(1); }
.ic--light { background: #fff; }
.ic--dark { background: #10171c; }
[data-step].in .ic { opacity: 1; transform: none; }
.ic:hover { transform: translateY(-6px) rotate(-4deg); transition-delay: 0s; }
.kit__sizes { display: flex; flex-wrap: nowrap; align-items: flex-end; justify-content: center; gap: clamp(18px, 3vw, 46px); }
.kit__sizes figure { margin: 0; display: grid; justify-items: center; gap: 12px; opacity: 0; transform: translateY(24px); transition: opacity .5s ease calc(.6s + var(--k) * .09s), transform .7s var(--ease) calc(.6s + var(--k) * .09s); }
.kit__sizes span { display: grid; place-items: end center; }
.kit__sizes img { display: block; height: auto; max-width: 80vw; }
.kit__sizes figcaption { font-size: 18px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
[data-step].in .kit__sizes figure { opacity: 1; transform: none; }

/* =========================================================
   Applicazioni: una fascia di foto attaccate che scorre
   ========================================================= */
.strip { overflow: hidden; flex: none; }
.strip__track { display: flex; width: max-content; transform: translate3d(var(--x, 0), 0, 0); will-change: transform; }
.full { position: relative; margin: 0; flex: none; height: min(42vh, 400px); aspect-ratio: 2.4 / 1; overflow: hidden; background: #e7ebeb; }
.full img { width: 100%; height: 100%; object-fit: cover; display: block; }
.full--white { aspect-ratio: 1.2 / 1; background: #fff; display: grid; place-items: center; }
.full--white img { width: 56%; height: auto; }
.full--dark { aspect-ratio: 1 / 1; background: var(--fondo, #10171c); display: grid; place-items: center; }
.full--dark img { width: 34%; height: auto; }

/* =========================================================
   Altri loghi: senza riquadri
   ========================================================= */
.carousel .item--logo { background: none; box-shadow: none; padding: 0; aspect-ratio: auto; gap: 18px; }
.carousel .item--logo:hover { box-shadow: none; }
.carousel .item__logo { height: 120px; padding: 0; }
.carousel .item__logo img { width: var(--lw, 180px); max-width: 100%; max-height: none; height: auto; }
.carousel .item--logo .item__cap { font-size: 18px; }
.carousel__i { width: min(320px, 70vw); }
.lp .carousel { margin-top: clamp(50px, 6vw, 80px); background: #fff; padding: clamp(60px, 7vw, 100px) 0 clamp(60px, 7vw, 90px); }
.lp .carousel .head { margin-bottom: clamp(24px, 3vw, 40px); }
.lp .carousel .carousel__ctrl button { background: var(--bg); box-shadow: none; }
.lp { padding-bottom: 0; }
.head--row > .carousel__ctrl { display: flex; }

/* =========================================================
   Frecce su/giù: saltano da una sezione all'altra
   ========================================================= */
.jump { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; gap: 8px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s ease, transform .5s var(--ease); }
.jump.is-on { opacity: 1; transform: none; pointer-events: auto; }
.jump button { width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 20, 30, .5); transition: background .3s, color .3s; }
.jump button:hover { background: var(--amber); color: var(--ink); }
.jump .ico { width: 22px; height: 22px; }

@media (max-width: 860px) {
	.idea3 { grid-template-columns: repeat(2, minmax(0, 150px)); }
	.kit__sizes { flex-wrap: wrap; }
	.band { grid-template-columns: 1fr; }
	.band__half + .band__half { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
	.full { height: 26vh; }
	.jump { right: 12px; bottom: 12px; gap: 6px; }
	.jump button { width: 42px; height: 42px; }
	.jump .ico { width: 18px; height: 18px; }
	/* mentre si scrive in un campo (tastiera aperta) i pulsanti non coprono il modulo */
	body:has(:is(input:not([type="checkbox"], [type="radio"]), textarea):focus) .jump { opacity: 0; pointer-events: none; }
	/* briciole su una riga: via "Home" (c'è il logo), il resto si tronca */
	.crumbs { min-width: 0; max-width: 100%; gap: 12px; }
	.crumbs ol { flex-wrap: nowrap; min-width: 0; }
	.crumbs li { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.crumbs li:first-child { display: none; }
	.crumbs li:first-child + li::before { content: none; }
	.crumbs [aria-current] { flex: none; max-width: 60%; }
	/* nella pagina del lavoro la voce corrente è il titolo grande appena sopra */
	.lp-head .crumbs [aria-current] { display: none; }
}

/* Footer sul telefono: una colonna (dopo i @media a 1080 e 860) */
@media (max-width: 560px) {
	.foot__cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Testi delle pagine (Privacy, Cookie Policy) */
.entry__body h2 { font-size: 24px; font-weight: 800; line-height: 1.2; margin-top: 1.8em; }
.entry__body ul { display: grid; gap: 8px; }
.entry__body li { padding-left: 20px; position: relative; }
.entry__body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.entry__body a { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.list--logo .item__logo img { width: calc(var(--lw, 180px) * .9); max-width: 100%; max-height: none; height: auto; }

/* =====================================================================
   MODULI DIVI NATIVI (Home e Footer dal 15/11)
   Testi, colori, misure e pulsanti si cambiano nel Divi Builder.
   Qui solo quello che Divi non sa fare, legato a una "Classe CSS" (scheda Avanzate del modulo/riga/colonna).
   ===================================================================== */
.dot { color: var(--amber); }

/* evn-occhiello: sopratitolo con il pallino sfumato */
.evn-occhiello p { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; }
.evn-occhiello p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* evn-lead: testo d'apertura, la frase in grassetto senza sottolineatura */
.evn-lead strong { color: var(--ink); font-weight: 700; }

/* evn-centro (riga): colonne centrate in verticale */
@media (min-width: 981px) {
	.et_pb_row.evn-centro { display: flex; align-items: center; }
	.et_pb_row.evn-fondo { display: flex; align-items: flex-end; }
}

/* evn-bottoni (colonna): pulsanti affiancati */
.evn-bottoni .et_pb_button_module_wrapper { display: inline-block; margin: 0 10px 10px 0; }
.et_pb_button { transition: background-color .3s, color .3s, border-color .3s; }

/* evn-tag: i #tag come pillole */
.evn-tag p { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.evn-tag a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.evn-tag a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 980px) { .evn-tag p { justify-content: flex-start; } }

/* evn-nastro (riga): i moduli della riga scorrono da soli (il JS li duplica per il giro continuo) */
.et_pb_row.evn-nastro { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.evn-nastro > .et_pb_column { display: flex; gap: 14px; width: max-content !important; float: none; margin: 0 !important; animation: flow 48s linear infinite; }
.evn-nastro:hover > .et_pb_column { animation-play-state: paused; }
.evn-nastro .et_pb_module { flex: none; margin: 0 !important; height: 112px; min-width: 230px; padding: 0 40px; display: grid; place-items: center; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s; }
.evn-nastro .et_pb_module:hover { box-shadow: inset 0 0 0 2px var(--amber); }
.evn-nastro .et_pb_image img { max-height: 54px; max-width: 190px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.evn-nastro .et_pb_image:hover img { filter: none; opacity: 1; }
.evn-nastro .et_pb_text p { white-space: nowrap; letter-spacing: -.01em; }
@media (max-width: 767px) { .evn-nastro .et_pb_module { height: 84px; min-width: 170px; padding: 0 26px; } .evn-nastro .et_pb_image img { max-height: 40px; max-width: 140px; } }
@media (prefers-reduced-motion: reduce) { .evn-nastro > .et_pb_column { animation: none; flex-wrap: wrap; width: auto !important; } }
/* nel Divi Builder il nastro sta fermo e mostra tutti i loghi */
.et-fb .evn-nastro > .et_pb_column { animation: none; flex-wrap: wrap; width: auto !important; }

/* evn-passi (colonna di Blurb): numeri 01, 02… e linee */
.evn-passi { counter-reset: passo; }
.evn-passi .et_pb_blurb { counter-increment: passo; margin: 0 !important; padding: 26px 0 26px 56px; border-top: 1px solid var(--line); position: relative; }
.evn-passi .et_pb_blurb:last-child { border-bottom: 1px solid var(--line); }
.evn-passi .et_pb_blurb::before { content: "0" counter(passo); position: absolute; left: 0; top: 34px; font-size: 18px; font-weight: 700; color: var(--muted); }
.evn-passi .et_pb_module_header { padding-bottom: 4px; }

/* evn-no-home: sezione nascosta in Home (es. la fascia "Hai un progetto?" del footer, perché in Home c'è già Contatti) */
body.home .evn-no-home { display: none; }
/* Pagina della Download Area (classi messe dal plugin Coverdeck – Download Area): niente fascia "Hai un progetto?";
   titolo della pagina nascosto quando nel plugin "Mostra titolo pagina" è spento */
body.download-area-page .evn-no-home { display: none; }
body.download-area-no-title .page__head { display: none; }
/* Pagina del plugin Signatures (classi messe dal plugin): stesse regole della Download Area */
body.signatures-page .evn-no-home { display: none; }
body.signatures-no-title .page__head { display: none; }

/* Contatti (sezione scura evn-scuro) */
.evn-scuro { color: #fff; }
.evn-scuro .et_pb_code a { color: inherit; }
.evn-diretti a { background: linear-gradient(#fff, #fff) left bottom / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.evn-diretti a:hover { background-size: 100% 1.5px; }
/* evn-contatti (riga): due colonne; la sinistra (titolo, testo, telefono) resta ferma mentre scorre il form (come prima). Divi non ha lo sticky per le colonne */
@media (min-width: 981px) {
	.evn-contatti { display: flex; align-items: flex-start; }
	.et_pb_row.evn-contatti > .et_pb_column:first-child { position: sticky; top: 120px; }
}

/* Footer: elenchi di link con le linee (evn-foot-menu), WhatsApp con l'icona, copyright */
.evn-foot-menu h4 { padding-bottom: 6px; }
.evn-foot-menu ul { padding: 0 !important; }
.evn-foot-menu li + li { border-top: 1px solid rgba(255, 255, 255, .2); }
.evn-foot-menu a { display: block; padding: 15px 0; transition: color .3s; }
.evn-foot-menu a:hover { color: #fff !important; }
.evn-foot-menu a[href*="wa.me"] { display: inline-flex; align-items: center; gap: 8px; color: #8ff092 !important; }
.evn-foot-menu a[href*="wa.me"]::after { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("whatsapp.svg") center / contain no-repeat; mask: url("whatsapp.svg") center / contain no-repeat; }
.evn-copy { border-top: 1px solid rgba(255, 255, 255, .15); padding: 22px 20px 28px; margin: 0 !important; }
/* evn-nl (riga della newsletter): testo a sinistra, form a destra */
.evn-nl > .et_pb_column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: start; padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.evn-nl h3 { color: #fff; }
@media (max-width: 860px) { .evn-nl > .et_pb_column { grid-template-columns: minmax(0, 1fr); } }

/* Reparti in home, pannello Loghi: patchwork (plugin evenue, parts/reparti-home.php) */
/* Loghi nel pannello Loghi: griglia dei loghi dei clienti, senza box; al passaggio fondo grigio chiaro.
   Stesso peso: peso--xxl (logo molto largo) … peso--q (quasi quadrato), dal file */
.logos--griglia { --lh: clamp(38px, 3.4vw, 52px); grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 6px; align-content: center; }
.logos--griglia .logos__i { display: grid; place-items: center; min-height: 120px; padding: 18px; border-radius: 12px; transition: background-color .3s; }
.logos--griglia .logos__i:hover, .logos--griglia .logos__i:focus-visible { background-color: var(--bg); }
.logos--griglia .logos__i img { display: block; width: auto; max-width: 100%; height: var(--lh); object-fit: contain; }
.logos__i.peso--xxl img { height: calc(var(--lh) * .7); }
.logos__i.peso--xl img { height: calc(var(--lh) * .82); }
.logos__i.peso--s img { height: calc(var(--lh) * 1.18); }
.logos__i.peso--q img { height: calc(var(--lh) * 1.4); }
/* Si compongono: salgono e si scoprono dal basso, uno dopo l'altro (main.js mette is-in quando il pannello è in vista, lo toglie quando esce) */
.logos--griglia .logos__i img { clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path .8s var(--ease), transform .8s var(--ease); }
.logos--griglia.is-in .logos__i img { clip-path: inset(0); transform: none; }
.logos--griglia.is-reset .logos__i img { transition: none; }
.is-in .logos__i--1 img { transition-delay: .06s; } .is-in .logos__i--2 img { transition-delay: .12s; } .is-in .logos__i--3 img { transition-delay: .18s; }
.is-in .logos__i--4 img { transition-delay: .24s; } .is-in .logos__i--5 img { transition-delay: .3s; } .is-in .logos__i--6 img { transition-delay: .36s; }
.is-in .logos__i--7 img { transition-delay: .42s; } .is-in .logos__i--8 img { transition-delay: .48s; } .is-in .logos__i--9 img { transition-delay: .54s; }
.is-in .logos__i--10 img { transition-delay: .6s; } .is-in .logos__i--11 img { transition-delay: .66s; } .is-in :is(.logos__i--12, .logos__i--13, .logos__i--14, .logos__i--15) img { transition-delay: .72s; }
@media (max-width: 860px) {
	.panel--loghi .panel__art { height: auto; }
	.logos--griglia { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); --lh: clamp(32px, 9.6vw, 42px); gap: 2px; }
	.logos--griglia .logos__i { min-height: 84px; padding: 10px; }
}


/* evn-hero (sezione Apertura): alta quanto il contenuto */
/* evn-marchio (colonna): il marchio che si disegna (shortcode [evn_marchio]) */
.evn-marchio .mark { width: 100%; max-width: 440px; height: auto; aspect-ratio: 69.6 / 53.6; margin-left: auto; }
@media (max-width: 980px) {
	.evn-hero .et_pb_row.evn-centro { display: flex; flex-direction: column; }
	.evn-hero .evn-marchio { order: -1; width: 46% !important; margin-bottom: 24px !important; }
	.evn-marchio .mark { margin-left: 0; }
}

/* seconda fila del nastro: al contrario */
.et_pb_row.evn-nastro + .et_pb_row.evn-nastro { margin-top: 8px; }
.evn-nastro--rev > .et_pb_column { animation-direction: reverse; animation-duration: 56s; }

/* Divi mette overflow:hidden su #page-container quando ci sono animazioni d'entrata: blocca i reparti che scorrono (sticky). */
html body #page-container { overflow: visible !important; }
html body { overflow-x: clip !important; }

/* Sottomenu del menu principale (Aspetto › Menu: voce trascinata sotto un'altra). Desktop: tendina; mobile: elenco rientrato */
.nav__sub { position: relative; display: flex; align-items: center; gap: 4px; }
.nav__sub > .ico { width: 16px; height: 16px; stroke-width: 2.6; transition: transform .35s var(--ease); }
.nav__drop { position: absolute; top: calc(100% + 16px); left: -16px; display: grid; min-width: 230px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 18px; }
.nav__drop a { padding: 10px 14px; border-radius: 10px; font-size: 18px; white-space: nowrap; transition: background .25s; }
.nav__drop a::after { display: none; }
.nav__drop a:hover, .nav__drop a:focus-visible { background: var(--bg); }
.nav__sub:hover .nav__drop, .nav__sub:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__sub:hover > .ico, .nav__sub:focus-within > .ico { transform: rotate(180deg); }
/* Prodotti evenue nel sottomenu: icona del prodotto (da comune/prodotti.php), poi una riga prima di Tutti i prodotti / Prezzi / Area clienti */
.nav__prod { display: flex; align-items: center; gap: 12px; }
.nav__ic { width: 28px; height: 28px; flex: none; }
.nav__drop a { position: relative; }
.nav__drop .nav__prod + a:not(.nav__prod) { margin-top: 9px; }
.nav__drop .nav__prod + a:not(.nav__prod)::before { content: ""; position: absolute; left: 14px; right: 14px; top: -5px; border-top: 1px solid var(--line); }
@media (max-width: 1040px) {
	.nav.is-open .nav__sheet { max-height: 760px; }
	.nav__sheet-sub { display: grid; margin: 0 0 10px; padding-left: 16px; border-left: 2px solid var(--amber); }
	.nav__sheet-sub a { font-size: 22px; font-weight: 600; letter-spacing: 0; padding: 4px 0; }
	.nav__sheet-sub .nav__ic { width: 30px; height: 30px; }
}
